#if !(defined(CPU_FLAG_INTEL_MOVBE) && defined(CPU_FLAG_INTEL_BMI2))
#include <gmlib/number/internal/mpz_common.h>
#include <stdexcept>
#include <cstring>

using namespace number::internal::common;

void test_mpz_common_sub_borrow()
{
    uint32_t    minuend[8], subtrahend[8], sum[8];
    int          borrow;
    std::uint8_t differencedata[32];

    static std::uint8_t minuend0[32]    = {0x24,0x25,0x88,0x0c,0xd7,0x65,0xf3,0x6f,0xa5,0x46,0x87,0x00,0x86,0xff,0x13,0x10,0x8e,0xc5,0xc4,0xbe,0x58,0x87,0xe5,0xeb,0xd4,0x61,0xcf,0xab,0xb1,0x4b,0x37,0x85};
    static std::uint8_t subtrahend0[32] = {0xdd,0xfa,0x54,0xfd,0x82,0x41,0x0b,0x21,0x95,0xa9,0x95,0x8b,0xf8,0xa4,0xfd,0x79,0x17,0xbc,0x49,0xff,0x74,0xa6,0x04,0x42,0x00,0x2c,0x45,0x45,0x2f,0x07,0xab,0xbb};
    static std::uint8_t sum0[32]        = {0x46,0x2b,0x33,0x0f,0x55,0x24,0xe8,0x4e,0x0f,0x9c,0xf1,0x74,0x8e,0x5a,0x15,0x97,0x77,0x09,0x7a,0xbe,0xe3,0xe1,0xe1,0xa9,0xd4,0x35,0x8a,0x66,0x82,0x43,0x8b,0xca};
    static int          borrow0         = -1;
    mpz_from_bytes(minuend, minuend0, 8);
    mpz_from_bytes(subtrahend, subtrahend0, 8);
    borrow = mpz_sub_borrow(sum, minuend, subtrahend, 0, 8);
    mpz_to_bytes(differencedata, sum, 8);
    if (std::memcmp(sum0, differencedata, 32) != 0 || borrow0 != borrow)
    {
        throw std::runtime_error("err in common::mpz_sub_borrow");
    }

    static std::uint8_t minuend1[32]    = {0xb9,0x33,0xcd,0xc3,0x98,0x5f,0x61,0x3a,0x46,0xec,0xb7,0xf0,0x92,0x19,0x7e,0x82,0xa3,0xad,0x54,0xa9,0xff,0x89,0x4a,0x78,0x1c,0x28,0x99,0xf3,0xbc,0x92,0x0b,0x3a};
    static std::uint8_t subtrahend1[32] = {0xf7,0x21,0x4a,0x55,0x84,0xd7,0x6e,0xd7,0x18,0x8c,0x30,0x1a,0x15,0x67,0x76,0xf2,0xa2,0xda,0x82,0x10,0x29,0x48,0x4a,0x6d,0xa4,0x53,0xec,0xc6,0xa7,0xfd,0x04,0x18};
    static std::uint8_t sum1[32]        = {0xc2,0x12,0x83,0x6e,0x13,0x87,0xf2,0x63,0x2e,0x60,0x87,0xd6,0x7c,0xb2,0x07,0x90,0x00,0xd2,0xd2,0x99,0xd6,0x41,0x00,0x0a,0x77,0xd4,0xad,0x2d,0x14,0x95,0x07,0x22};
    static int          borrow1         = -1;
    mpz_from_bytes(minuend, minuend1, 8);
    mpz_from_bytes(subtrahend, subtrahend1, 8);
    borrow = mpz_sub_borrow(sum, minuend, subtrahend, 0, 8);
    mpz_to_bytes(differencedata, sum, 8);
    if (std::memcmp(sum1, differencedata, 32) != 0 || borrow1 != borrow)
    {
        throw std::runtime_error("err in common::mpz_sub_borrow");
    }

    static std::uint8_t minuend2[32]    = {0xba,0x85,0x26,0xb0,0x2b,0x5a,0x01,0x81,0x72,0xc7,0x9d,0xdc,0x7d,0x0b,0xa6,0xa8,0x99,0xe6,0xb0,0x7e,0x8a,0x88,0x57,0x86,0xf7,0x74,0x25,0xce,0x49,0x6c,0x6c,0xb4};
    static std::uint8_t subtrahend2[32] = {0x23,0x48,0xd8,0x51,0x50,0x90,0xc9,0x54,0x2c,0x4c,0x20,0xdc,0x9d,0x9c,0x58,0x1f,0xea,0x10,0x5c,0xea,0xd8,0xfa,0x03,0xc5,0x19,0xc8,0x1f,0x6a,0x68,0xa2,0xa7,0x6c};
    static std::uint8_t sum2[32]        = {0x97,0x3c,0x4e,0x5e,0xda,0xc9,0x38,0x2d,0x46,0x7b,0x7c,0xff,0xdf,0x6f,0x4e,0x88,0xaf,0xd6,0x53,0x93,0xb1,0x8e,0x53,0xc1,0xdd,0xac,0x06,0x63,0xe0,0xc9,0xc5,0x48};
    static int          borrow2         = 0;
    mpz_from_bytes(minuend, minuend2, 8);
    mpz_from_bytes(subtrahend, subtrahend2, 8);
    borrow = mpz_sub_borrow(sum, minuend, subtrahend, 0, 8);
    mpz_to_bytes(differencedata, sum, 8);
    if (std::memcmp(sum2, differencedata, 32) != 0 || borrow2 != borrow)
    {
        throw std::runtime_error("err in common::mpz_sub_borrow");
    }

    static std::uint8_t minuend3[32]    = {0x0d,0x6d,0xec,0x0c,0x47,0x78,0x97,0x18,0x8b,0x3b,0x83,0xb3,0x68,0xb9,0xe9,0x2e,0x2a,0xee,0xa2,0x76,0x3e,0xb6,0xc4,0xce,0xfd,0x59,0xe2,0xd5,0x6e,0xde,0x97,0x6c};
    static std::uint8_t subtrahend3[32] = {0xdf,0xa8,0x5d,0xa7,0x30,0x65,0x0a,0x41,0xeb,0x4c,0x1c,0xb1,0x93,0xf7,0xc1,0x80,0x59,0x88,0x42,0x6b,0x37,0xf3,0xdf,0x4a,0x4b,0xfc,0x63,0xd3,0x59,0xb3,0x7c,0xc6};
    static std::uint8_t sum3[32]        = {0x2d,0xc5,0x8e,0x65,0x17,0x13,0x8c,0xd6,0x9f,0xef,0x67,0x01,0xd4,0xc2,0x27,0xad,0xd1,0x66,0x60,0x0b,0x06,0xc2,0xe5,0x84,0xb1,0x5d,0x7f,0x02,0x15,0x2b,0x1a,0xa6};
    static int          borrow3         = -1;
    mpz_from_bytes(minuend, minuend3, 8);
    mpz_from_bytes(subtrahend, subtrahend3, 8);
    borrow = mpz_sub_borrow(sum, minuend, subtrahend, 0, 8);
    mpz_to_bytes(differencedata, sum, 8);
    if (std::memcmp(sum3, differencedata, 32) != 0 || borrow3 != borrow)
    {
        throw std::runtime_error("err in common::mpz_sub_borrow");
    }

    static std::uint8_t minuend4[32]    = {0xa9,0x0d,0x50,0x4b,0x08,0xf2,0xdf,0xb1,0xbe,0x88,0x7e,0xa0,0x9d,0xda,0xcc,0xa5,0xa8,0x8f,0xc3,0x25,0xf2,0x39,0x2f,0xbe,0x63,0x3e,0xbb,0x0f,0x9a,0x5c,0x4b,0x6e};
    static std::uint8_t subtrahend4[32] = {0x6a,0x27,0x07,0xb5,0xc3,0x29,0x6a,0x5b,0x61,0xfa,0x18,0x77,0x80,0x63,0xfc,0x55,0xc2,0x14,0x25,0xff,0x53,0x64,0xc9,0x08,0x0c,0xf4,0x4c,0x8f,0x1f,0xef,0xbd,0x16};
    static std::uint8_t sum4[32]        = {0x3e,0xe6,0x48,0x95,0x45,0xc9,0x75,0x56,0x5c,0x8e,0x66,0x29,0x1d,0x76,0xd0,0x4f,0xe6,0x7b,0x9d,0x26,0x9e,0xd4,0x66,0xb6,0x56,0x4a,0x6e,0x80,0x7a,0x6c,0x8e,0x58};
    static int          borrow4         = 0;
    mpz_from_bytes(minuend, minuend4, 8);
    mpz_from_bytes(subtrahend, subtrahend4, 8);
    borrow = mpz_sub_borrow(sum, minuend, subtrahend, 0, 8);
    mpz_to_bytes(differencedata, sum, 8);
    if (std::memcmp(sum4, differencedata, 32) != 0 || borrow4 != borrow)
    {
        throw std::runtime_error("err in common::mpz_sub_borrow");
    }

    static std::uint8_t minuend5[32]    = {0x32,0x61,0xf8,0x33,0x3c,0x18,0x87,0xae,0x13,0x7d,0xce,0xdc,0x82,0x86,0x8f,0x4f,0x3f,0x58,0x6f,0x04,0xa7,0xa4,0xf3,0xf3,0xe7,0xa1,0xb7,0xb4,0x32,0x9f,0x57,0x72};
    static std::uint8_t subtrahend5[32] = {0xa7,0xba,0x76,0x92,0x80,0xc1,0x58,0x81,0x88,0x83,0x38,0x72,0x2b,0xad,0x51,0x93,0xf6,0xae,0x41,0x91,0x04,0xf9,0x39,0x59,0xf0,0x7c,0xe5,0xaa,0x6a,0x85,0x91,0x0e};
    static std::uint8_t sum5[32]        = {0x8a,0xa7,0x81,0xa0,0xbb,0x57,0x2f,0x2c,0x8a,0xfa,0x96,0x6a,0x56,0xd9,0x3d,0xbb,0x48,0xaa,0x2d,0x73,0xa2,0xab,0xba,0x99,0xf7,0x24,0xd2,0x09,0xc8,0x19,0xc6,0x64};
    static int          borrow5         = -1;
    mpz_from_bytes(minuend, minuend5, 8);
    mpz_from_bytes(subtrahend, subtrahend5, 8);
    borrow = mpz_sub_borrow(sum, minuend, subtrahend, 0, 8);
    mpz_to_bytes(differencedata, sum, 8);
    if (std::memcmp(sum5, differencedata, 32) != 0 || borrow5 != borrow)
    {
        throw std::runtime_error("err in common::mpz_sub_borrow");
    }

    static std::uint8_t minuend6[32]    = {0x8c,0x83,0x6d,0x31,0x50,0xeb,0xbd,0x69,0x2b,0xf0,0x99,0xd2,0x81,0x5c,0xdf,0x9f,0xa5,0xfd,0x97,0xe3,0x95,0x98,0x13,0x39,0x50,0xda,0xf3,0xf7,0x93,0x66,0x5f,0x15};
    static std::uint8_t subtrahend6[32] = {0x0a,0x91,0x91,0x65,0xb7,0x45,0x42,0x4f,0xc6,0x72,0xf1,0xac,0xb0,0x4b,0x9f,0xa8,0x1c,0x5b,0xf6,0xc7,0xb1,0x94,0x94,0xce,0x58,0xd3,0x4e,0x88,0x27,0xb2,0xb5,0x87};
    static std::uint8_t sum6[32]        = {0x81,0xf1,0xdb,0xcb,0x99,0xa6,0x7b,0x19,0x65,0x7d,0xa8,0x25,0xd1,0x11,0x3f,0xf7,0x89,0xa1,0xa1,0x1b,0xe4,0x03,0x7e,0x6a,0xf8,0x07,0xa5,0x6f,0x6b,0xb3,0xa9,0x8e};
    static int          borrow6         = 0;
    mpz_from_bytes(minuend, minuend6, 8);
    mpz_from_bytes(subtrahend, subtrahend6, 8);
    borrow = mpz_sub_borrow(sum, minuend, subtrahend, 0, 8);
    mpz_to_bytes(differencedata, sum, 8);
    if (std::memcmp(sum6, differencedata, 32) != 0 || borrow6 != borrow)
    {
        throw std::runtime_error("err in common::mpz_sub_borrow");
    }

    static std::uint8_t minuend7[32]    = {0xea,0xe0,0xa8,0x12,0xdd,0xda,0x0e,0xdc,0x3c,0xe1,0x05,0x3d,0xd9,0x38,0x1c,0x75,0x5e,0x3b,0xfa,0x1a,0x19,0xfa,0x41,0x2a,0xde,0x29,0xff,0x57,0xaa,0xfe,0xd2,0xd2};
    static std::uint8_t subtrahend7[32] = {0x5b,0xb6,0x02,0x30,0xc6,0x43,0xaa,0x5a,0x3c,0x4b,0x54,0xef,0xfb,0x82,0x17,0xe1,0x6e,0xff,0x0e,0xae,0xe0,0x38,0x8f,0x20,0x32,0x4b,0x28,0xb9,0x43,0xb0,0xc0,0xdf};
    static std::uint8_t sum7[32]        = {0x8f,0x2a,0xa5,0xe2,0x17,0x96,0x64,0x82,0x00,0x95,0xb0,0x4d,0xdd,0xb6,0x04,0x93,0xef,0x3c,0xeb,0x6b,0x39,0xc1,0xb2,0x0a,0xab,0xde,0xd6,0x9e,0x67,0x4e,0x11,0xf3};
    static int          borrow7         = 0;
    mpz_from_bytes(minuend, minuend7, 8);
    mpz_from_bytes(subtrahend, subtrahend7, 8);
    borrow = mpz_sub_borrow(sum, minuend, subtrahend, 0, 8);
    mpz_to_bytes(differencedata, sum, 8);
    if (std::memcmp(sum7, differencedata, 32) != 0 || borrow7 != borrow)
    {
        throw std::runtime_error("err in common::mpz_sub_borrow");
    }

    static std::uint8_t minuend8[32]    = {0x9f,0x18,0x39,0x46,0xb4,0x1d,0x61,0xa5,0x54,0xe2,0xc0,0x6e,0x00,0xfc,0xaf,0x62,0xc8,0xa2,0x28,0x66,0x3b,0x84,0x05,0x58,0x7c,0x3e,0xcf,0xe3,0xc6,0x53,0xee,0xa1};
    static std::uint8_t subtrahend8[32] = {0xe1,0x0a,0xd9,0xd3,0x44,0xf3,0x68,0x24,0x81,0x7e,0xb5,0xe3,0x4a,0x36,0x6d,0xd0,0xd9,0xfa,0x65,0xd6,0x74,0xbf,0x3a,0x8b,0xa8,0x81,0x7b,0xf0,0x4a,0x84,0x60,0xbb};
    static std::uint8_t sum8[32]        = {0xbe,0x0d,0x5f,0x73,0x6f,0x29,0xf9,0x80,0xd3,0x64,0x0a,0x8a,0xb6,0xc6,0x41,0x91,0xee,0xa7,0xc2,0x8f,0xc6,0xc4,0xca,0xcc,0xd3,0xbd,0x53,0xf3,0x7b,0xcf,0x8d,0xe6};
    static int          borrow8         = -1;
    mpz_from_bytes(minuend, minuend8, 8);
    mpz_from_bytes(subtrahend, subtrahend8, 8);
    borrow = mpz_sub_borrow(sum, minuend, subtrahend, 0, 8);
    mpz_to_bytes(differencedata, sum, 8);
    if (std::memcmp(sum8, differencedata, 32) != 0 || borrow8 != borrow)
    {
        throw std::runtime_error("err in common::mpz_sub_borrow");
    }

    static std::uint8_t minuend9[32]    = {0x79,0x63,0xe6,0x9b,0x2a,0x5b,0x09,0x41,0x8a,0xc1,0x74,0xb3,0x92,0x17,0xe4,0xb7,0x7a,0x1a,0x13,0x06,0xf0,0xd0,0x48,0xbd,0xb8,0xeb,0x5b,0xe3,0xef,0x34,0x4c,0xeb};
    static std::uint8_t subtrahend9[32] = {0xe7,0xb3,0xad,0x71,0xfa,0x6c,0x60,0xaf,0x21,0x67,0xdb,0x95,0x67,0x52,0x0c,0x5d,0x7b,0x69,0xb4,0xc5,0x7a,0x17,0xe2,0x7a,0xb2,0x5e,0x3c,0xb3,0x9b,0x64,0x4b,0xed};
    static std::uint8_t sum9[32]        = {0x91,0xb0,0x39,0x29,0x2f,0xee,0xa8,0x92,0x69,0x59,0x99,0x1e,0x2a,0xc5,0xd8,0x59,0xfe,0xb0,0x5e,0x41,0x76,0xb8,0x66,0x43,0x06,0x8d,0x1f,0x30,0x53,0xd0,0x00,0xfe};
    static int          borrow9         = -1;
    mpz_from_bytes(minuend, minuend9, 8);
    mpz_from_bytes(subtrahend, subtrahend9, 8);
    borrow = mpz_sub_borrow(sum, minuend, subtrahend, 0, 8);
    mpz_to_bytes(differencedata, sum, 8);
    if (std::memcmp(sum9, differencedata, 32) != 0 || borrow9 != borrow)
    {
        throw std::runtime_error("err in common::mpz_sub_borrow");
    }

    static std::uint8_t minuend10[32]    = {0x42,0x8e,0xfb,0x3a,0xb8,0x0f,0x36,0xf1,0x38,0xfa,0x68,0xed,0x13,0x6a,0x78,0x89,0x65,0x5c,0x66,0xa9,0x53,0x62,0x66,0x04,0xe5,0x12,0x46,0x80,0xf0,0xe8,0xb7,0x47};
    static std::uint8_t subtrahend10[32] = {0xe7,0xf5,0xa6,0x64,0x9d,0xed,0xe1,0xf9,0xb4,0x0e,0x43,0x27,0x0e,0x05,0x60,0x22,0x64,0x05,0x42,0x53,0x9d,0x70,0xa2,0xd3,0xed,0x56,0xc9,0xb5,0x60,0x5e,0x55,0xb9};
    static std::uint8_t sum10[32]        = {0x5a,0x99,0x54,0xd6,0x1a,0x21,0x54,0xf7,0x84,0xec,0x25,0xc6,0x05,0x65,0x18,0x67,0x01,0x57,0x24,0x55,0xb5,0xf1,0xc3,0x30,0xf7,0xbb,0x7c,0xcb,0x90,0x8a,0x61,0x8e};
    static int          borrow10         = -1;
    mpz_from_bytes(minuend, minuend10, 8);
    mpz_from_bytes(subtrahend, subtrahend10, 8);
    borrow = mpz_sub_borrow(sum, minuend, subtrahend, 0, 8);
    mpz_to_bytes(differencedata, sum, 8);
    if (std::memcmp(sum10, differencedata, 32) != 0 || borrow10 != borrow)
    {
        throw std::runtime_error("err in common::mpz_sub_borrow");
    }

    static std::uint8_t minuend11[32]    = {0x00,0x7e,0xa5,0x79,0x04,0xd9,0x08,0xb0,0x6f,0x51,0x7e,0xb1,0x5e,0x9b,0xac,0xfb,0x0f,0xef,0x1c,0xe2,0xf5,0xdd,0xca,0x0f,0xd3,0x37,0xfe,0xdd,0x97,0x79,0xd9,0xc5};
    static std::uint8_t subtrahend11[32] = {0x0b,0x66,0x71,0xcc,0x5a,0xe7,0xf9,0xa1,0xaa,0x84,0x3e,0x2e,0x65,0x63,0x10,0xe0,0xb9,0x7c,0x26,0xc0,0xc8,0x5f,0xef,0x34,0x29,0xc5,0x53,0x1e,0xc4,0x23,0xaf,0xb3};
    static std::uint8_t sum11[32]        = {0xf5,0x18,0x33,0xac,0xa9,0xf1,0x0f,0x0e,0xc4,0xcd,0x40,0x82,0xf9,0x38,0x9c,0x1a,0x56,0x72,0xf6,0x22,0x2d,0x7d,0xda,0xdb,0xa9,0x72,0xab,0xbe,0xd3,0x56,0x2a,0x12};
    static int          borrow11         = -1;
    mpz_from_bytes(minuend, minuend11, 8);
    mpz_from_bytes(subtrahend, subtrahend11, 8);
    borrow = mpz_sub_borrow(sum, minuend, subtrahend, 0, 8);
    mpz_to_bytes(differencedata, sum, 8);
    if (std::memcmp(sum11, differencedata, 32) != 0 || borrow11 != borrow)
    {
        throw std::runtime_error("err in common::mpz_sub_borrow");
    }

    static std::uint8_t minuend12[32]    = {0xac,0x9e,0x24,0x64,0xfd,0x8d,0x29,0x7f,0xe3,0x06,0xd3,0xe4,0x14,0x72,0x60,0x58,0xad,0x1d,0x1c,0xbc,0x65,0x7d,0x5c,0x62,0x0a,0x01,0x5a,0x0b,0xbf,0x71,0x47,0xa9};
    static std::uint8_t subtrahend12[32] = {0x57,0xdd,0x97,0xa1,0x5d,0x03,0xe0,0x1e,0x58,0x88,0x46,0x49,0x30,0x70,0x09,0x9f,0xa1,0x41,0x2a,0x82,0x01,0x1f,0xa6,0x27,0x3f,0xfc,0x9d,0x2a,0xda,0xda,0x18,0x90};
    static std::uint8_t sum12[32]        = {0x54,0xc0,0x8c,0xc3,0xa0,0x89,0x49,0x61,0x8a,0x7e,0x8d,0x9a,0xe4,0x02,0x56,0xb9,0x0b,0xdb,0xf2,0x3a,0x64,0x5d,0xb6,0x3a,0xca,0x04,0xbc,0xe0,0xe4,0x97,0x2f,0x19};
    static int          borrow12         = 0;
    mpz_from_bytes(minuend, minuend12, 8);
    mpz_from_bytes(subtrahend, subtrahend12, 8);
    borrow = mpz_sub_borrow(sum, minuend, subtrahend, 0, 8);
    mpz_to_bytes(differencedata, sum, 8);
    if (std::memcmp(sum12, differencedata, 32) != 0 || borrow12 != borrow)
    {
        throw std::runtime_error("err in common::mpz_sub_borrow");
    }

    static std::uint8_t minuend13[32]    = {0x07,0x5d,0xe2,0x07,0xb5,0x89,0x25,0xc2,0xe2,0xfe,0xe1,0xa0,0xa1,0xa7,0xa1,0x33,0x7f,0x90,0x74,0xfe,0xd1,0x1b,0xf9,0xc8,0x29,0x39,0xa5,0xc9,0x2c,0xe7,0x4d,0x67};
    static std::uint8_t subtrahend13[32] = {0x47,0xad,0x16,0x56,0x16,0xf3,0x59,0x0b,0x04,0xd1,0x95,0x6c,0x43,0x0f,0xdf,0xa6,0x8d,0x98,0x79,0x2a,0x64,0xcf,0xa0,0x30,0x86,0xce,0xa3,0xf1,0x42,0x49,0x5b,0x0c};
    static std::uint8_t sum13[32]        = {0xbf,0xb0,0xcb,0xb1,0x9e,0x95,0xcc,0xb7,0xde,0x2d,0x4c,0x34,0x5e,0x97,0xc1,0x8c,0xf1,0xf7,0xfb,0xd4,0x6c,0x4c,0x59,0x97,0xa2,0x6b,0x01,0xd7,0xea,0x9d,0xf2,0x5b};
    static int          borrow13         = -1;
    mpz_from_bytes(minuend, minuend13, 8);
    mpz_from_bytes(subtrahend, subtrahend13, 8);
    borrow = mpz_sub_borrow(sum, minuend, subtrahend, 0, 8);
    mpz_to_bytes(differencedata, sum, 8);
    if (std::memcmp(sum13, differencedata, 32) != 0 || borrow13 != borrow)
    {
        throw std::runtime_error("err in common::mpz_sub_borrow");
    }

    static std::uint8_t minuend14[32]    = {0x8a,0x69,0x0e,0xce,0xaf,0xae,0x9f,0x53,0x17,0x08,0x5a,0xb7,0x90,0xba,0xc3,0xd6,0xfd,0x9a,0x1b,0xa1,0x70,0xa5,0x31,0xcf,0x15,0x80,0x62,0x0b,0xad,0xdb,0xb7,0xe1};
    static std::uint8_t subtrahend14[32] = {0x49,0xb8,0x26,0xc7,0x02,0x0a,0xaf,0x6b,0x27,0x3e,0x10,0xbe,0x27,0xf4,0xda,0x7b,0x87,0x4f,0x4c,0xca,0x33,0x8c,0x2b,0xdd,0x6a,0xc2,0xb7,0xdd,0xd2,0x89,0x36,0xf8};
    static std::uint8_t sum14[32]        = {0x40,0xb0,0xe8,0x07,0xad,0xa3,0xef,0xe7,0xef,0xca,0x49,0xf9,0x68,0xc5,0xe9,0x5b,0x76,0x4a,0xce,0xd7,0x3d,0x19,0x05,0xf1,0xaa,0xbd,0xaa,0x2d,0xdb,0x52,0x80,0xe9};
    static int          borrow14         = 0;
    mpz_from_bytes(minuend, minuend14, 8);
    mpz_from_bytes(subtrahend, subtrahend14, 8);
    borrow = mpz_sub_borrow(sum, minuend, subtrahend, 0, 8);
    mpz_to_bytes(differencedata, sum, 8);
    if (std::memcmp(sum14, differencedata, 32) != 0 || borrow14 != borrow)
    {
        throw std::runtime_error("err in common::mpz_sub_borrow");
    }

    static std::uint8_t minuend15[32]    = {0xbf,0x66,0x74,0xa8,0xaf,0xe1,0x2d,0x1a,0xff,0xfc,0x92,0x84,0xcb,0x8f,0x1d,0xf2,0x81,0xdf,0x2a,0xbc,0x91,0x2b,0xf3,0xdd,0x6d,0x34,0x1c,0x93,0x90,0x7a,0xaa,0x71};
    static std::uint8_t subtrahend15[32] = {0x98,0x10,0xdc,0xdf,0x19,0x5d,0x9a,0xc0,0x76,0x2f,0xb8,0xe8,0xed,0xf8,0x81,0xf9,0x9f,0x74,0xd1,0x91,0x85,0x52,0xfa,0xaf,0x13,0x8e,0x13,0xc6,0xdc,0x38,0xc5,0x4a};
    static std::uint8_t sum15[32]        = {0x27,0x55,0x97,0xc9,0x96,0x83,0x92,0x5a,0x89,0xcc,0xd9,0x9b,0xdd,0x96,0x9b,0xf8,0xe2,0x6a,0x59,0x2b,0x0b,0xd8,0xf9,0x2e,0x59,0xa6,0x08,0xcc,0xb4,0x41,0xe5,0x27};
    static int          borrow15         = 0;
    mpz_from_bytes(minuend, minuend15, 8);
    mpz_from_bytes(subtrahend, subtrahend15, 8);
    borrow = mpz_sub_borrow(sum, minuend, subtrahend, 0, 8);
    mpz_to_bytes(differencedata, sum, 8);
    if (std::memcmp(sum15, differencedata, 32) != 0 || borrow15 != borrow)
    {
        throw std::runtime_error("err in common::mpz_sub_borrow");
    }

    static std::uint8_t minuend16[32]    = {0xa0,0x53,0x09,0x69,0x6e,0x83,0x4e,0x12,0x59,0xe0,0x5f,0x79,0x25,0x75,0x7a,0x86,0x9a,0xc5,0x8e,0x66,0x9e,0x07,0xc0,0xf5,0x25,0x79,0xce,0xb0,0x4b,0x50,0xe0,0x81};
    static std::uint8_t subtrahend16[32] = {0xc6,0xf1,0xbf,0x2f,0x1d,0x26,0x8d,0x34,0xa2,0x12,0xf5,0x5b,0xc8,0x2b,0x50,0xb1,0xca,0x8c,0x04,0xa9,0x7c,0xe1,0xac,0xcb,0xf2,0x4d,0xa9,0xf2,0xf2,0x37,0x0f,0x32};
    static std::uint8_t sum16[32]        = {0xd9,0x61,0x4a,0x3a,0x51,0x5c,0xc0,0xdd,0xb7,0xcd,0x6a,0x1d,0x5d,0x4a,0x29,0xd4,0xd0,0x39,0x89,0xbd,0x21,0x26,0x14,0x29,0x33,0x2c,0x24,0xbd,0x59,0x19,0xd1,0x4f};
    static int          borrow16         = -1;
    mpz_from_bytes(minuend, minuend16, 8);
    mpz_from_bytes(subtrahend, subtrahend16, 8);
    borrow = mpz_sub_borrow(sum, minuend, subtrahend, 0, 8);
    mpz_to_bytes(differencedata, sum, 8);
    if (std::memcmp(sum16, differencedata, 32) != 0 || borrow16 != borrow)
    {
        throw std::runtime_error("err in common::mpz_sub_borrow");
    }

    static std::uint8_t minuend17[32]    = {0x17,0x06,0xb8,0x6e,0x95,0x76,0x2b,0x89,0x24,0x96,0x8a,0x5a,0xea,0xdb,0x32,0x0b,0x60,0x80,0xdd,0x7d,0xb1,0x48,0x77,0x7b,0xd6,0x7d,0x20,0xc3,0x6a,0x02,0x9c,0xb0};
    static std::uint8_t subtrahend17[32] = {0x14,0x8a,0xcc,0x18,0x93,0x67,0xce,0x3d,0x4f,0xc9,0x2a,0xb4,0x98,0xce,0x13,0x64,0xda,0xf3,0xb1,0x5b,0x3a,0x14,0x36,0xc8,0x70,0x3e,0x6f,0xc0,0xa0,0x64,0x9f,0x71};
    static std::uint8_t sum17[32]        = {0x02,0x7b,0xec,0x56,0x02,0x0e,0x5d,0x4b,0xd4,0xcd,0x5f,0xa6,0x52,0x0d,0x1e,0xa6,0x85,0x8d,0x2c,0x22,0x77,0x34,0x40,0xb3,0x66,0x3e,0xb1,0x02,0xc9,0x9d,0xfd,0x3f};
    static int          borrow17         = 0;
    mpz_from_bytes(minuend, minuend17, 8);
    mpz_from_bytes(subtrahend, subtrahend17, 8);
    borrow = mpz_sub_borrow(sum, minuend, subtrahend, 0, 8);
    mpz_to_bytes(differencedata, sum, 8);
    if (std::memcmp(sum17, differencedata, 32) != 0 || borrow17 != borrow)
    {
        throw std::runtime_error("err in common::mpz_sub_borrow");
    }

    static std::uint8_t minuend18[32]    = {0xfe,0x57,0xce,0x2d,0xf2,0x50,0xa2,0x92,0x1e,0x88,0x4c,0x1a,0xd0,0xe7,0x8a,0x3b,0x47,0xe4,0x43,0x8c,0x35,0x4b,0x8b,0xe3,0xc7,0x64,0x6d,0x64,0x05,0x4d,0x77,0x2d};
    static std::uint8_t subtrahend18[32] = {0xfc,0x1e,0x5c,0xbb,0xd0,0x49,0x84,0xd9,0x8d,0xdf,0x56,0x9e,0x83,0xa5,0xa1,0xe8,0xd6,0x2f,0xdb,0xcf,0x42,0x33,0x15,0x08,0xd8,0x97,0xe5,0x17,0x31,0x8a,0xc1,0x2f};
    static std::uint8_t sum18[32]        = {0x02,0x39,0x71,0x72,0x22,0x07,0x1d,0xb8,0x90,0xa8,0xf5,0x7c,0x4d,0x41,0xe8,0x52,0x71,0xb4,0x67,0xbc,0xf3,0x18,0x76,0xda,0xee,0xcc,0x88,0x4c,0xd3,0xc2,0xb5,0xfe};
    static int          borrow18         = 0;
    mpz_from_bytes(minuend, minuend18, 8);
    mpz_from_bytes(subtrahend, subtrahend18, 8);
    borrow = mpz_sub_borrow(sum, minuend, subtrahend, 0, 8);
    mpz_to_bytes(differencedata, sum, 8);
    if (std::memcmp(sum18, differencedata, 32) != 0 || borrow18 != borrow)
    {
        throw std::runtime_error("err in common::mpz_sub_borrow");
    }

    static std::uint8_t minuend19[32]    = {0xcb,0x31,0x6f,0xbe,0xc8,0x13,0xf3,0x64,0x1f,0x2d,0xd0,0x54,0x38,0xaa,0x88,0x25,0x33,0x71,0x3c,0x52,0x04,0x17,0xb4,0x1f,0x96,0x5c,0x5f,0x45,0x77,0x6c,0xa1,0x12};
    static std::uint8_t subtrahend19[32] = {0x06,0xeb,0x74,0xc2,0x71,0x91,0xca,0x7b,0x88,0x3a,0xd8,0xd1,0xd4,0xac,0x24,0x1d,0x4d,0xf4,0x92,0x80,0x22,0x7d,0x7f,0x1d,0xf6,0xe2,0xf4,0x34,0x6a,0xb3,0xe6,0x2a};
    static std::uint8_t sum19[32]        = {0xc4,0x45,0xfa,0xfc,0x56,0x82,0x28,0xe8,0x96,0xf2,0xf7,0x82,0x63,0xfe,0x64,0x07,0xe5,0x7c,0xa9,0xd1,0xe1,0x9a,0x35,0x01,0x9f,0x79,0x6b,0x11,0x0c,0xb8,0xba,0xe8};
    static int          borrow19         = 0;
    mpz_from_bytes(minuend, minuend19, 8);
    mpz_from_bytes(subtrahend, subtrahend19, 8);
    borrow = mpz_sub_borrow(sum, minuend, subtrahend, 0, 8);
    mpz_to_bytes(differencedata, sum, 8);
    if (std::memcmp(sum19, differencedata, 32) != 0 || borrow19 != borrow)
    {
        throw std::runtime_error("err in common::mpz_sub_borrow");
    }

    static std::uint8_t minuend20[32]    = {0x2d,0xe1,0xf1,0xa4,0x4f,0x4e,0x8e,0xae,0x52,0x35,0xb9,0x89,0xc1,0x1b,0x77,0x44,0x6d,0x46,0x01,0xc0,0xab,0x49,0xb5,0x30,0x73,0x50,0x8a,0x38,0x63,0xfe,0x68,0xb2};
    static std::uint8_t subtrahend20[32] = {0xae,0x54,0xcb,0x18,0x99,0xd1,0x02,0xe1,0xb2,0x9f,0x21,0x07,0x61,0x9e,0x75,0x25,0x9a,0x21,0xa8,0x8e,0xb1,0x51,0xd6,0x11,0xed,0xd5,0xc9,0x80,0xf2,0x30,0xc5,0xee};
    static std::uint8_t sum20[32]        = {0x7f,0x8d,0x26,0x8b,0xb5,0x7d,0x8b,0xcc,0x9f,0x96,0x98,0x82,0x5f,0x7d,0x02,0x1e,0xd3,0x24,0x59,0x31,0xf9,0xf7,0xdf,0x1e,0x85,0x7a,0xc0,0xb7,0x71,0xcd,0xa2,0xc4};
    static int          borrow20         = -1;
    mpz_from_bytes(minuend, minuend20, 8);
    mpz_from_bytes(subtrahend, subtrahend20, 8);
    borrow = mpz_sub_borrow(sum, minuend, subtrahend, 0, 8);
    mpz_to_bytes(differencedata, sum, 8);
    if (std::memcmp(sum20, differencedata, 32) != 0 || borrow20 != borrow)
    {
        throw std::runtime_error("err in common::mpz_sub_borrow");
    }

    static std::uint8_t minuend21[32]    = {0xd9,0x9f,0x03,0x37,0x9b,0xff,0x25,0x2a,0x72,0x39,0x96,0x14,0x39,0x3c,0x37,0x68,0x24,0x7a,0x14,0xc8,0x9a,0x6b,0x6f,0x82,0xd6,0xd5,0x11,0x5a,0x47,0xb7,0xe6,0xbd};
    static std::uint8_t subtrahend21[32] = {0x97,0x77,0x3d,0x86,0xbd,0x7a,0x29,0x77,0xb7,0x83,0x70,0x2b,0x66,0xfa,0xff,0x27,0x29,0x2d,0x58,0x27,0x17,0x1c,0xad,0x33,0x55,0x39,0x40,0x50,0xfc,0xa5,0xc1,0x52};
    static std::uint8_t sum21[32]        = {0x42,0x27,0xc5,0xb0,0xde,0x84,0xfb,0xb2,0xba,0xb6,0x25,0xe8,0xd2,0x41,0x38,0x40,0xfb,0x4c,0xbc,0xa1,0x83,0x4e,0xc2,0x4f,0x81,0x9b,0xd1,0x09,0x4b,0x12,0x25,0x6b};
    static int          borrow21         = 0;
    mpz_from_bytes(minuend, minuend21, 8);
    mpz_from_bytes(subtrahend, subtrahend21, 8);
    borrow = mpz_sub_borrow(sum, minuend, subtrahend, 0, 8);
    mpz_to_bytes(differencedata, sum, 8);
    if (std::memcmp(sum21, differencedata, 32) != 0 || borrow21 != borrow)
    {
        throw std::runtime_error("err in common::mpz_sub_borrow");
    }

    static std::uint8_t minuend22[32]    = {0xdc,0x81,0xa6,0x9d,0xb1,0x46,0x39,0xdd,0x70,0x55,0xa7,0x3e,0x97,0xdc,0x82,0x69,0x1e,0xb1,0x7e,0xf9,0x62,0x99,0xb8,0x08,0x0c,0x3a,0xfc,0x76,0xb8,0x51,0x3a,0x43};
    static std::uint8_t subtrahend22[32] = {0x97,0x10,0x90,0xb7,0xd0,0xcd,0x5d,0x59,0xe3,0x1d,0x5d,0x48,0xd1,0x4b,0xa5,0x85,0x40,0x3f,0xec,0x54,0x29,0x00,0xa3,0x0c,0xcc,0x73,0x30,0xa1,0xd1,0x85,0xec,0xd7};
    static std::uint8_t sum22[32]        = {0x45,0x71,0x15,0xe5,0xe0,0x78,0xdc,0x83,0x8d,0x38,0x49,0xf5,0xc6,0x90,0xdc,0xe3,0xde,0x71,0x92,0xa5,0x39,0x99,0x14,0xfb,0x3f,0xc7,0xcb,0xd4,0xe6,0xcb,0x4d,0x6c};
    static int          borrow22         = 0;
    mpz_from_bytes(minuend, minuend22, 8);
    mpz_from_bytes(subtrahend, subtrahend22, 8);
    borrow = mpz_sub_borrow(sum, minuend, subtrahend, 0, 8);
    mpz_to_bytes(differencedata, sum, 8);
    if (std::memcmp(sum22, differencedata, 32) != 0 || borrow22 != borrow)
    {
        throw std::runtime_error("err in common::mpz_sub_borrow");
    }

    static std::uint8_t minuend23[32]    = {0x02,0x0c,0x73,0x42,0xfa,0x88,0x42,0xdf,0xe0,0x63,0x13,0x8d,0xaa,0x35,0x63,0xb3,0x56,0x88,0xba,0x2b,0x27,0x21,0x1e,0x68,0xa8,0xe4,0xd3,0xa9,0x00,0x29,0xd0,0xf6};
    static std::uint8_t subtrahend23[32] = {0x96,0xf4,0x3f,0x05,0x81,0xc3,0xb1,0x33,0xe1,0x99,0x58,0x32,0x2c,0x95,0xcb,0x01,0xef,0x30,0xa0,0xf9,0xcd,0xad,0x29,0xee,0x04,0x7e,0x18,0x52,0x26,0x70,0xab,0x1d};
    static std::uint8_t sum23[32]        = {0x6b,0x18,0x34,0x3d,0x78,0xc4,0x91,0xab,0xfe,0xc9,0xbb,0x5b,0x7d,0x9f,0x98,0xb1,0x67,0x58,0x19,0x31,0x59,0x73,0xf4,0x7a,0xa4,0x66,0xbb,0x56,0xd9,0xb9,0x25,0xd9};
    static int          borrow23         = -1;
    mpz_from_bytes(minuend, minuend23, 8);
    mpz_from_bytes(subtrahend, subtrahend23, 8);
    borrow = mpz_sub_borrow(sum, minuend, subtrahend, 0, 8);
    mpz_to_bytes(differencedata, sum, 8);
    if (std::memcmp(sum23, differencedata, 32) != 0 || borrow23 != borrow)
    {
        throw std::runtime_error("err in common::mpz_sub_borrow");
    }

    static std::uint8_t minuend24[32]    = {0x2f,0x8a,0xdf,0xdd,0x17,0xd9,0x5d,0x05,0x2e,0x42,0x45,0x22,0x51,0x9f,0xa8,0x5a,0xa3,0xce,0xeb,0x6c,0x7a,0xa6,0xa5,0xb1,0x5b,0xae,0x3e,0xe1,0x4e,0x2c,0x8e,0x25};
    static std::uint8_t subtrahend24[32] = {0x43,0xbb,0xc8,0xac,0x44,0xc2,0x6a,0x5f,0xe3,0x01,0xdb,0x8c,0x95,0x1f,0xc4,0x63,0xbc,0xfa,0xa4,0x7b,0xae,0x2c,0xea,0xb3,0xc4,0x2f,0xf1,0x65,0x45,0x02,0x86,0x9b};
    static std::uint8_t sum24[32]        = {0xeb,0xcf,0x17,0x30,0xd3,0x16,0xf2,0xa5,0x4b,0x40,0x69,0x95,0xbc,0x7f,0xe3,0xf6,0xe6,0xd4,0x46,0xf0,0xcc,0x79,0xba,0xfd,0x97,0x7e,0x4d,0x7c,0x09,0x2a,0x07,0x8a};
    static int          borrow24         = -1;
    mpz_from_bytes(minuend, minuend24, 8);
    mpz_from_bytes(subtrahend, subtrahend24, 8);
    borrow = mpz_sub_borrow(sum, minuend, subtrahend, 0, 8);
    mpz_to_bytes(differencedata, sum, 8);
    if (std::memcmp(sum24, differencedata, 32) != 0 || borrow24 != borrow)
    {
        throw std::runtime_error("err in common::mpz_sub_borrow");
    }

    static std::uint8_t minuend25[32]    = {0xd2,0x01,0x28,0x36,0x0b,0x30,0xb9,0x6c,0x2f,0xd2,0x5e,0x09,0xdf,0x06,0x02,0x11,0xe6,0xc9,0xb0,0xc2,0xb8,0xc3,0x19,0x0f,0xb8,0x6b,0xc8,0x8d,0xbe,0xa2,0x45,0x5a};
    static std::uint8_t subtrahend25[32] = {0xa8,0x18,0x8d,0xbd,0x4a,0x6d,0x5b,0x0d,0xec,0xdc,0x53,0x82,0xd1,0x19,0x50,0xf4,0xa9,0x89,0xc8,0x49,0xf7,0xae,0xaf,0x99,0xc5,0xf8,0x85,0x37,0xbc,0x71,0x5d,0x9b};
    static std::uint8_t sum25[32]        = {0x29,0xe8,0x9a,0x78,0xc0,0xc3,0x5e,0x5e,0x42,0xf6,0x0a,0x87,0x0d,0xec,0xb1,0x1d,0x3d,0x3f,0xe8,0x78,0xc1,0x14,0x69,0x75,0xf2,0x73,0x43,0x56,0x02,0x30,0xe7,0xbf};
    static int          borrow25         = 0;
    mpz_from_bytes(minuend, minuend25, 8);
    mpz_from_bytes(subtrahend, subtrahend25, 8);
    borrow = mpz_sub_borrow(sum, minuend, subtrahend, 0, 8);
    mpz_to_bytes(differencedata, sum, 8);
    if (std::memcmp(sum25, differencedata, 32) != 0 || borrow25 != borrow)
    {
        throw std::runtime_error("err in common::mpz_sub_borrow");
    }

    static std::uint8_t minuend26[32]    = {0xe3,0xe5,0xd5,0xf6,0xed,0x3b,0x25,0x82,0x09,0x7b,0xc9,0x9c,0x86,0x70,0x12,0xee,0xe8,0xae,0x3d,0x42,0xd0,0x27,0x82,0xde,0xd0,0xa4,0x73,0x17,0x40,0xee,0x37,0xd6};
    static std::uint8_t subtrahend26[32] = {0xed,0x3b,0x1e,0x31,0x08,0x4e,0x5b,0xbc,0xce,0x2f,0x94,0x33,0xf8,0x03,0x87,0x74,0x47,0x7e,0x25,0xef,0x0b,0xb0,0x53,0x92,0x7e,0x2d,0x35,0xf9,0xde,0x42,0x9b,0x22};
    static std::uint8_t sum26[32]        = {0xf6,0xaa,0xb7,0xc5,0xe4,0xec,0xc9,0xc5,0x3b,0x4c,0x35,0x68,0x8e,0x6c,0x8b,0x7a,0xa1,0x30,0x17,0x53,0xc4,0x77,0x2f,0x4c,0x52,0x77,0x3d,0x1d,0x62,0xab,0x9c,0xb4};
    static int          borrow26         = -1;
    mpz_from_bytes(minuend, minuend26, 8);
    mpz_from_bytes(subtrahend, subtrahend26, 8);
    borrow = mpz_sub_borrow(sum, minuend, subtrahend, 0, 8);
    mpz_to_bytes(differencedata, sum, 8);
    if (std::memcmp(sum26, differencedata, 32) != 0 || borrow26 != borrow)
    {
        throw std::runtime_error("err in common::mpz_sub_borrow");
    }

    static std::uint8_t minuend27[32]    = {0xfe,0x09,0x94,0x7d,0xeb,0xea,0xee,0x4d,0xbe,0x0a,0x98,0xdc,0x17,0xa0,0x64,0x5c,0x1c,0x4a,0xe5,0xec,0xa0,0x53,0x6a,0xe6,0x98,0x63,0x49,0x9a,0xf5,0x55,0x66,0xd5};
    static std::uint8_t subtrahend27[32] = {0x1a,0xea,0xe0,0x22,0xd2,0x0b,0xae,0x3a,0x78,0xcc,0x39,0xf8,0xd4,0xbe,0xb1,0x06,0xd0,0x31,0x8a,0x27,0x61,0x38,0x97,0x81,0xfd,0x5f,0x67,0xb0,0x16,0x8f,0x96,0x36};
    static std::uint8_t sum27[32]        = {0xe3,0x1e,0xb4,0x5b,0x19,0xdf,0x40,0x13,0x45,0x3e,0x5e,0xe3,0x42,0xe1,0xb3,0x55,0x4c,0x19,0x5b,0xc5,0x3f,0x1a,0xd3,0x64,0x9b,0x03,0xe1,0xea,0xde,0xc5,0xd0,0x9f};
    static int          borrow27         = 0;
    mpz_from_bytes(minuend, minuend27, 8);
    mpz_from_bytes(subtrahend, subtrahend27, 8);
    borrow = mpz_sub_borrow(sum, minuend, subtrahend, 0, 8);
    mpz_to_bytes(differencedata, sum, 8);
    if (std::memcmp(sum27, differencedata, 32) != 0 || borrow27 != borrow)
    {
        throw std::runtime_error("err in common::mpz_sub_borrow");
    }

    static std::uint8_t minuend28[32]    = {0xfe,0x98,0x43,0x64,0x5e,0xf4,0x62,0x19,0x9a,0x64,0x74,0xd9,0x6a,0xd2,0x2c,0xc7,0x78,0x8c,0x88,0xa6,0xd5,0x08,0xe4,0x10,0x8f,0xad,0x38,0xba,0x60,0xd2,0xa5,0x65};
    static std::uint8_t subtrahend28[32] = {0xd9,0x15,0x87,0x93,0x95,0x2c,0xd4,0xa2,0xcb,0xac,0xef,0x47,0xbf,0xf2,0x7f,0xc0,0x4e,0xbd,0xfc,0x8f,0xc7,0xde,0x1d,0x89,0x04,0x64,0x48,0x33,0xe4,0x2c,0xba,0x0e};
    static std::uint8_t sum28[32]        = {0x25,0x82,0xbb,0xd0,0xc9,0xc7,0x8d,0x76,0xce,0xb7,0x85,0x91,0xaa,0xdf,0xad,0x07,0x29,0xce,0x8c,0x17,0x0d,0x2a,0xc6,0x87,0x8b,0x48,0xf0,0x86,0x7c,0xa5,0xeb,0x57};
    static int          borrow28         = 0;
    mpz_from_bytes(minuend, minuend28, 8);
    mpz_from_bytes(subtrahend, subtrahend28, 8);
    borrow = mpz_sub_borrow(sum, minuend, subtrahend, 0, 8);
    mpz_to_bytes(differencedata, sum, 8);
    if (std::memcmp(sum28, differencedata, 32) != 0 || borrow28 != borrow)
    {
        throw std::runtime_error("err in common::mpz_sub_borrow");
    }

    static std::uint8_t minuend29[32]    = {0x7a,0x10,0x86,0xf3,0x20,0x35,0x79,0xdc,0x73,0xf9,0xfb,0x7b,0x16,0x33,0x66,0x48,0xbb,0x5d,0xf2,0xaa,0x88,0x0b,0xc2,0xea,0x04,0xa0,0x78,0xeb,0x5f,0x6a,0x70,0x14};
    static std::uint8_t subtrahend29[32] = {0x96,0xa0,0x56,0x10,0xfd,0xa2,0x87,0x2e,0xf1,0x97,0x5d,0xdb,0x84,0x77,0x95,0x88,0x86,0x12,0xba,0x48,0x44,0x13,0x9a,0xac,0x4f,0xa5,0x11,0x6e,0xcd,0x74,0xb7,0xfe};
    static std::uint8_t sum29[32]        = {0xe3,0x70,0x30,0xe2,0x22,0x92,0xf2,0xad,0x82,0x62,0x9d,0x9f,0x91,0xbb,0xd0,0xc0,0x35,0x4b,0x38,0x62,0x43,0xf8,0x28,0x3d,0xb4,0xfb,0x67,0x7c,0x91,0xf5,0xb8,0x16};
    static int          borrow29         = -1;
    mpz_from_bytes(minuend, minuend29, 8);
    mpz_from_bytes(subtrahend, subtrahend29, 8);
    borrow = mpz_sub_borrow(sum, minuend, subtrahend, 0, 8);
    mpz_to_bytes(differencedata, sum, 8);
    if (std::memcmp(sum29, differencedata, 32) != 0 || borrow29 != borrow)
    {
        throw std::runtime_error("err in common::mpz_sub_borrow");
    }

    static std::uint8_t minuend30[32]    = {0x26,0xf2,0x89,0x11,0x3e,0x5e,0xf3,0xe5,0xce,0x32,0x72,0xec,0xa5,0x94,0x84,0x5a,0x7c,0x6c,0xaa,0xbd,0x8a,0x23,0x7e,0x80,0x36,0x6d,0x43,0x4a,0x59,0x54,0xc3,0x31};
    static std::uint8_t subtrahend30[32] = {0xce,0x91,0xcc,0xb9,0x2d,0xd7,0xa6,0xdc,0x4a,0x7c,0xf9,0x41,0x6d,0xfd,0xbd,0xc1,0x0b,0x86,0x0c,0xab,0x58,0xff,0x80,0xd1,0x4d,0x98,0x2f,0x15,0x06,0xeb,0x7a,0x57};
    static std::uint8_t sum30[32]        = {0x58,0x60,0xbc,0x58,0x10,0x87,0x4d,0x09,0x83,0xb5,0x79,0xab,0x37,0x96,0xc6,0x99,0x70,0xe6,0x9e,0x12,0x31,0x23,0xfd,0xae,0xe8,0xd5,0x14,0x35,0x52,0x69,0x48,0xda};
    static int          borrow30         = -1;
    mpz_from_bytes(minuend, minuend30, 8);
    mpz_from_bytes(subtrahend, subtrahend30, 8);
    borrow = mpz_sub_borrow(sum, minuend, subtrahend, 0, 8);
    mpz_to_bytes(differencedata, sum, 8);
    if (std::memcmp(sum30, differencedata, 32) != 0 || borrow30 != borrow)
    {
        throw std::runtime_error("err in common::mpz_sub_borrow");
    }

    static std::uint8_t minuend31[32]    = {0x59,0x2c,0x0d,0x3d,0x5d,0x73,0x30,0xdd,0x97,0xa9,0x2a,0x35,0x3b,0x42,0x5c,0xe0,0x2a,0xd2,0x68,0xa0,0x7d,0x4a,0xfb,0x96,0x5b,0xec,0xa4,0x4d,0x2f,0x51,0x62,0x55};
    static std::uint8_t subtrahend31[32] = {0xbb,0x87,0x72,0x7c,0x64,0x04,0x6c,0xd9,0xb0,0xe9,0x7a,0xfd,0x39,0x63,0x6d,0x1a,0xc7,0x37,0xf9,0x73,0x0b,0x7a,0x3a,0xd2,0x70,0x03,0x11,0x24,0x71,0x43,0x3f,0x0c};
    static std::uint8_t sum31[32]        = {0x9d,0xa4,0x9a,0xc0,0xf9,0x6e,0xc4,0x03,0xe6,0xbf,0xaf,0x38,0x01,0xde,0xef,0xc5,0x63,0x9a,0x6f,0x2d,0x71,0xd0,0xc0,0xc3,0xeb,0xe9,0x93,0x28,0xbe,0x0e,0x23,0x49};
    static int          borrow31         = -1;
    mpz_from_bytes(minuend, minuend31, 8);
    mpz_from_bytes(subtrahend, subtrahend31, 8);
    borrow = mpz_sub_borrow(sum, minuend, subtrahend, 0, 8);
    mpz_to_bytes(differencedata, sum, 8);
    if (std::memcmp(sum31, differencedata, 32) != 0 || borrow31 != borrow)
    {
        throw std::runtime_error("err in common::mpz_sub_borrow");
    }

    static std::uint8_t minuend32[32]    = {0x15,0x02,0xc4,0xc6,0x33,0x39,0x22,0xb8,0x98,0x5a,0x84,0xfb,0xd6,0x17,0xd6,0x71,0xf0,0x82,0xd7,0x9e,0x26,0x92,0xc4,0x36,0x9c,0x5b,0x67,0x65,0x68,0x43,0x1f,0xe7};
    static std::uint8_t subtrahend32[32] = {0x2f,0xa8,0x33,0x64,0x1b,0x5b,0xb0,0x7f,0x91,0x65,0xa2,0xd9,0xc7,0x46,0x63,0x65,0xfd,0x45,0x6b,0x1d,0x94,0xfe,0x75,0x50,0xc3,0xe6,0xc0,0xa0,0x22,0xe6,0x11,0xa7};
    static std::uint8_t sum32[32]        = {0xe5,0x5a,0x91,0x62,0x17,0xdd,0x72,0x39,0x06,0xf4,0xe2,0x22,0x0e,0xd1,0x73,0x0b,0xf3,0x3d,0x6c,0x80,0x91,0x94,0x4e,0xe5,0xd8,0x74,0xa6,0xc5,0x45,0x5d,0x0e,0x40};
    static int          borrow32         = -1;
    mpz_from_bytes(minuend, minuend32, 8);
    mpz_from_bytes(subtrahend, subtrahend32, 8);
    borrow = mpz_sub_borrow(sum, minuend, subtrahend, 0, 8);
    mpz_to_bytes(differencedata, sum, 8);
    if (std::memcmp(sum32, differencedata, 32) != 0 || borrow32 != borrow)
    {
        throw std::runtime_error("err in common::mpz_sub_borrow");
    }

    static std::uint8_t minuend33[32]    = {0x54,0xd3,0x30,0x31,0xfb,0xb5,0x03,0x7e,0xb6,0x7f,0xa3,0x6a,0x0b,0x40,0x6b,0xf0,0x01,0x2e,0x1c,0x63,0x5a,0xaa,0xe9,0xf5,0xf8,0xaf,0x22,0x58,0x9c,0xfc,0xd9,0x63};
    static std::uint8_t subtrahend33[32] = {0x5e,0xc3,0x80,0x31,0x5c,0x40,0x80,0x6a,0x66,0x8c,0x6e,0x2d,0x59,0xe6,0x2a,0x00,0x33,0x88,0x1b,0x8d,0x92,0x20,0xfd,0xb1,0xd9,0x90,0x0f,0x36,0x6d,0xfd,0x15,0xdd};
    static std::uint8_t sum33[32]        = {0xf6,0x0f,0xb0,0x00,0x9f,0x74,0x83,0x14,0x4f,0xf3,0x35,0x3c,0xb1,0x5a,0x41,0xef,0xcd,0xa6,0x00,0xd5,0xc8,0x89,0xec,0x44,0x1f,0x1f,0x13,0x22,0x2e,0xff,0xc3,0x86};
    static int          borrow33         = -1;
    mpz_from_bytes(minuend, minuend33, 8);
    mpz_from_bytes(subtrahend, subtrahend33, 8);
    borrow = mpz_sub_borrow(sum, minuend, subtrahend, 0, 8);
    mpz_to_bytes(differencedata, sum, 8);
    if (std::memcmp(sum33, differencedata, 32) != 0 || borrow33 != borrow)
    {
        throw std::runtime_error("err in common::mpz_sub_borrow");
    }

    static std::uint8_t minuend34[32]    = {0x52,0x93,0x65,0xab,0x9b,0x42,0x0a,0xa0,0xa2,0x01,0x64,0x25,0x00,0x6b,0x58,0x62,0x01,0xf7,0xa1,0x82,0x7e,0x8a,0x97,0xd9,0xee,0xc0,0xf5,0x5d,0x67,0xba,0x3a,0xe4};
    static std::uint8_t subtrahend34[32] = {0x29,0x01,0xc9,0x89,0xb6,0x83,0x23,0xb7,0x77,0xa1,0x4a,0xc6,0xab,0xbe,0x55,0x07,0xa4,0x58,0xa8,0x30,0x41,0x5f,0xe1,0x6c,0x96,0x96,0x8d,0xc3,0xac,0x23,0x71,0x74};
    static std::uint8_t sum34[32]        = {0x29,0x91,0x9c,0x21,0xe4,0xbe,0xe6,0xe9,0x2a,0x60,0x19,0x5e,0x54,0xad,0x03,0x5a,0x5d,0x9e,0xf9,0x52,0x3d,0x2a,0xb6,0x6d,0x58,0x2a,0x67,0x99,0xbb,0x96,0xc9,0x70};
    static int          borrow34         = 0;
    mpz_from_bytes(minuend, minuend34, 8);
    mpz_from_bytes(subtrahend, subtrahend34, 8);
    borrow = mpz_sub_borrow(sum, minuend, subtrahend, 0, 8);
    mpz_to_bytes(differencedata, sum, 8);
    if (std::memcmp(sum34, differencedata, 32) != 0 || borrow34 != borrow)
    {
        throw std::runtime_error("err in common::mpz_sub_borrow");
    }

    static std::uint8_t minuend35[32]    = {0xb5,0xa7,0xdb,0xed,0xca,0xc4,0x31,0x14,0xa5,0xdd,0xbf,0x35,0x2f,0x2e,0x2e,0xa8,0xb2,0x7a,0xc1,0xb8,0xdf,0x5e,0x76,0xe8,0x5b,0x4e,0xcb,0xb6,0xec,0x28,0x05,0x8f};
    static std::uint8_t subtrahend35[32] = {0xb0,0xb8,0x25,0xcd,0xfd,0xda,0xe1,0x2f,0x96,0x53,0xe2,0x6c,0x2e,0xa0,0xbb,0x30,0x06,0xbe,0xca,0x9c,0xd8,0x9c,0x85,0xf6,0x98,0x0c,0x5a,0x56,0x12,0x43,0xd5,0xdc};
    static std::uint8_t sum35[32]        = {0x04,0xef,0xb6,0x1f,0xcc,0xe9,0x4f,0xe5,0x0f,0x89,0xdc,0xc9,0x00,0x8d,0x73,0x78,0xab,0xbb,0xf7,0x1c,0x06,0xc1,0xf0,0xf1,0xc3,0x42,0x71,0x60,0xd9,0xe4,0x2f,0xb3};
    static int          borrow35         = 0;
    mpz_from_bytes(minuend, minuend35, 8);
    mpz_from_bytes(subtrahend, subtrahend35, 8);
    borrow = mpz_sub_borrow(sum, minuend, subtrahend, 0, 8);
    mpz_to_bytes(differencedata, sum, 8);
    if (std::memcmp(sum35, differencedata, 32) != 0 || borrow35 != borrow)
    {
        throw std::runtime_error("err in common::mpz_sub_borrow");
    }

    static std::uint8_t minuend36[32]    = {0xeb,0x38,0x6f,0x84,0xb4,0xe7,0xd1,0xec,0x2e,0xe0,0xcf,0xa9,0x6b,0xbc,0x05,0x5a,0xd7,0xf5,0x34,0xe4,0xee,0xc6,0x6d,0x10,0xe3,0xb8,0x73,0xfc,0x1e,0x26,0x5c,0x77};
    static std::uint8_t subtrahend36[32] = {0x45,0x20,0x7b,0x70,0x12,0xb7,0x2d,0xdf,0x85,0x69,0x9d,0x70,0xaa,0x3f,0xa9,0x2c,0x07,0x39,0xc7,0x1a,0xd7,0xb0,0x95,0x93,0xc0,0x67,0xdd,0xc2,0xb7,0x04,0x5f,0x9b};
    static std::uint8_t sum36[32]        = {0xa6,0x17,0xf4,0x14,0xa2,0x30,0xa4,0x0c,0xa9,0x77,0x32,0x38,0xc1,0x7c,0x5c,0x2e,0xd0,0xbb,0x6d,0xca,0x17,0x15,0xd7,0x7d,0x23,0x50,0x96,0x39,0x67,0x21,0xfc,0xdc};
    static int          borrow36         = 0;
    mpz_from_bytes(minuend, minuend36, 8);
    mpz_from_bytes(subtrahend, subtrahend36, 8);
    borrow = mpz_sub_borrow(sum, minuend, subtrahend, 0, 8);
    mpz_to_bytes(differencedata, sum, 8);
    if (std::memcmp(sum36, differencedata, 32) != 0 || borrow36 != borrow)
    {
        throw std::runtime_error("err in common::mpz_sub_borrow");
    }

    static std::uint8_t minuend37[32]    = {0x0b,0xc0,0x29,0x87,0xb6,0x8b,0x1b,0x94,0x5b,0x26,0x6e,0x8a,0xdf,0xa6,0x3c,0x0d,0x89,0x2f,0xc5,0xcc,0x14,0x83,0xfa,0x56,0xf5,0xb6,0xd1,0x07,0x4e,0x97,0xad,0x84};
    static std::uint8_t subtrahend37[32] = {0x81,0x06,0xe2,0xbd,0xc4,0xf8,0x0c,0x65,0xd7,0xfd,0x18,0x91,0x23,0x5b,0xc1,0x74,0x47,0x02,0xcb,0x51,0x75,0xdc,0xa2,0x0b,0x37,0x1a,0xc0,0xa3,0xa2,0xdb,0xa0,0x9f};
    static std::uint8_t sum37[32]        = {0x8a,0xb9,0x46,0xc9,0xf1,0x93,0x0f,0x2e,0x83,0x29,0x55,0xf9,0xbc,0x4a,0x7a,0x99,0x42,0x2c,0xfa,0x7a,0x9e,0xa7,0x58,0x4b,0xbe,0x9c,0x10,0x63,0xab,0xbc,0x0c,0xe5};
    static int          borrow37         = -1;
    mpz_from_bytes(minuend, minuend37, 8);
    mpz_from_bytes(subtrahend, subtrahend37, 8);
    borrow = mpz_sub_borrow(sum, minuend, subtrahend, 0, 8);
    mpz_to_bytes(differencedata, sum, 8);
    if (std::memcmp(sum37, differencedata, 32) != 0 || borrow37 != borrow)
    {
        throw std::runtime_error("err in common::mpz_sub_borrow");
    }

    static std::uint8_t minuend38[32]    = {0x30,0x8d,0x44,0x68,0x12,0x0b,0x43,0xb0,0x6c,0xf3,0x1b,0x54,0xcd,0xf3,0x07,0xc7,0x29,0x27,0xdd,0x6a,0x1a,0x56,0x76,0x0a,0xcf,0x3e,0x05,0x8b,0xe7,0xa2,0x58,0x0b};
    static std::uint8_t subtrahend38[32] = {0x44,0x31,0x5b,0xf6,0x4e,0x4a,0x70,0xde,0x72,0x16,0x10,0x80,0x9e,0x44,0x21,0x2e,0x79,0x9d,0xb1,0xc2,0x11,0x33,0x54,0x62,0xc7,0xff,0xcd,0x12,0x6d,0x4d,0xca,0xdb};
    static std::uint8_t sum38[32]        = {0xec,0x5b,0xe8,0x71,0xc3,0xc0,0xd2,0xd1,0xfa,0xdd,0x0a,0xd4,0x2f,0xae,0xe6,0x98,0xaf,0x8a,0x2b,0xa8,0x09,0x23,0x21,0xa8,0x07,0x3e,0x38,0x79,0x7a,0x54,0x8d,0x30};
    static int          borrow38         = -1;
    mpz_from_bytes(minuend, minuend38, 8);
    mpz_from_bytes(subtrahend, subtrahend38, 8);
    borrow = mpz_sub_borrow(sum, minuend, subtrahend, 0, 8);
    mpz_to_bytes(differencedata, sum, 8);
    if (std::memcmp(sum38, differencedata, 32) != 0 || borrow38 != borrow)
    {
        throw std::runtime_error("err in common::mpz_sub_borrow");
    }

    static std::uint8_t minuend39[32]    = {0x9a,0x9c,0x17,0x2f,0x97,0x85,0x76,0x07,0x20,0x0b,0x9d,0x4f,0x25,0x7e,0xd7,0xbe,0xba,0xa8,0xed,0xb2,0x70,0xac,0xef,0x8d,0xef,0x77,0xd8,0x00,0x87,0xc7,0x7b,0xc3};
    static std::uint8_t subtrahend39[32] = {0x5a,0x54,0xe7,0xd6,0x8f,0x78,0x3e,0xbd,0x75,0x9f,0x74,0x6f,0x52,0xd4,0x47,0x8f,0xdb,0xa5,0x28,0x8b,0x1d,0x20,0xfb,0x81,0xc5,0xf1,0xf1,0xaf,0x9a,0x72,0x50,0x59};
    static std::uint8_t sum39[32]        = {0x40,0x47,0x2f,0x59,0x08,0x0d,0x37,0x49,0xaa,0x6c,0x28,0xdf,0xd2,0xaa,0x90,0x2e,0xdf,0x03,0xc5,0x27,0x53,0x8b,0xf4,0x0c,0x29,0x85,0xe6,0x50,0xed,0x55,0x2b,0x6a};
    static int          borrow39         = 0;
    mpz_from_bytes(minuend, minuend39, 8);
    mpz_from_bytes(subtrahend, subtrahend39, 8);
    borrow = mpz_sub_borrow(sum, minuend, subtrahend, 0, 8);
    mpz_to_bytes(differencedata, sum, 8);
    if (std::memcmp(sum39, differencedata, 32) != 0 || borrow39 != borrow)
    {
        throw std::runtime_error("err in common::mpz_sub_borrow");
    }

    static std::uint8_t minuend40[32]    = {0xf6,0x05,0xe2,0x0a,0xe7,0xfe,0x7d,0x8c,0x14,0x14,0xb2,0xfe,0xe4,0x1e,0xc8,0xfd,0xb8,0x1e,0xa9,0xb7,0x8b,0x39,0x8b,0x2c,0xa1,0xa9,0x44,0x36,0x7c,0x89,0xeb,0xcf};
    static std::uint8_t subtrahend40[32] = {0x35,0x7e,0x19,0xc4,0xb5,0x66,0x0e,0xba,0x78,0x2c,0xdd,0xdf,0x37,0xf1,0x6d,0xc4,0x35,0x5b,0x8b,0xc5,0x2d,0xa0,0x50,0xa1,0x6a,0x1b,0x86,0xce,0xec,0x1f,0xd9,0x5e};
    static std::uint8_t sum40[32]        = {0xc0,0x87,0xc8,0x46,0x32,0x98,0x6e,0xd1,0x9b,0xe7,0xd5,0x1f,0xac,0x2d,0x5b,0x39,0x82,0xc3,0x1d,0xf2,0x5d,0x99,0x3a,0x8b,0x37,0x8d,0xbd,0x67,0x90,0x6a,0x12,0x71};
    static int          borrow40         = 0;
    mpz_from_bytes(minuend, minuend40, 8);
    mpz_from_bytes(subtrahend, subtrahend40, 8);
    borrow = mpz_sub_borrow(sum, minuend, subtrahend, 0, 8);
    mpz_to_bytes(differencedata, sum, 8);
    if (std::memcmp(sum40, differencedata, 32) != 0 || borrow40 != borrow)
    {
        throw std::runtime_error("err in common::mpz_sub_borrow");
    }

    static std::uint8_t minuend41[32]    = {0x3d,0xa4,0xdb,0xec,0x1e,0x7c,0x3c,0xa2,0x56,0x29,0x37,0x9f,0xb1,0x7f,0xed,0xce,0xd2,0xaa,0x2d,0xbb,0x50,0x21,0x48,0xcf,0x6f,0x0a,0x69,0x53,0x4f,0x0e,0x2f,0x29};
    static std::uint8_t subtrahend41[32] = {0xfb,0x2d,0x16,0x1a,0xa8,0x9d,0xad,0x05,0x48,0x8f,0x66,0x64,0x02,0x24,0x3a,0xe4,0xff,0x2f,0xfb,0x08,0xfa,0xd1,0xaa,0xc8,0x4a,0xf4,0xd4,0x6d,0xc8,0x1c,0x23,0xaa};
    static std::uint8_t sum41[32]        = {0x42,0x77,0xc5,0xd1,0x75,0xde,0x8f,0x9d,0x0d,0x99,0xd1,0x3b,0xaf,0x5b,0xb2,0xe9,0xd3,0x7a,0x32,0xb2,0x55,0x4f,0x9e,0x07,0x24,0x15,0x94,0xe5,0x86,0xf2,0x0b,0x7f};
    static int          borrow41         = -1;
    mpz_from_bytes(minuend, minuend41, 8);
    mpz_from_bytes(subtrahend, subtrahend41, 8);
    borrow = mpz_sub_borrow(sum, minuend, subtrahend, 0, 8);
    mpz_to_bytes(differencedata, sum, 8);
    if (std::memcmp(sum41, differencedata, 32) != 0 || borrow41 != borrow)
    {
        throw std::runtime_error("err in common::mpz_sub_borrow");
    }

    static std::uint8_t minuend42[32]    = {0xa4,0xa6,0x74,0x4e,0x56,0x62,0x95,0x3e,0x77,0x68,0xb2,0x68,0x08,0x5e,0x1a,0x93,0xe6,0x15,0xed,0xde,0x75,0xb4,0x0f,0x29,0x5d,0x66,0xb8,0x03,0x99,0x56,0x5f,0xcd};
    static std::uint8_t subtrahend42[32] = {0x27,0x76,0xaf,0x0e,0x7e,0xde,0xe7,0x0d,0xd2,0x82,0x22,0x61,0xfe,0xe9,0x0c,0x09,0x69,0x34,0x37,0xeb,0x9e,0xd2,0xbe,0xc2,0x50,0xa8,0x79,0xbe,0x84,0xff,0x4f,0xca};
    static std::uint8_t sum42[32]        = {0x7d,0x2f,0xc5,0x3f,0xd7,0x83,0xae,0x30,0xa4,0xe6,0x90,0x06,0x09,0x75,0x0e,0x8a,0x7c,0xe1,0xb5,0xf2,0xd6,0xe1,0x50,0x67,0x0c,0xbe,0x3e,0x45,0x14,0x57,0x10,0x03};
    static int          borrow42         = 0;
    mpz_from_bytes(minuend, minuend42, 8);
    mpz_from_bytes(subtrahend, subtrahend42, 8);
    borrow = mpz_sub_borrow(sum, minuend, subtrahend, 0, 8);
    mpz_to_bytes(differencedata, sum, 8);
    if (std::memcmp(sum42, differencedata, 32) != 0 || borrow42 != borrow)
    {
        throw std::runtime_error("err in common::mpz_sub_borrow");
    }

    static std::uint8_t minuend43[32]    = {0x41,0x36,0x9f,0xd4,0x47,0xfb,0x63,0xfd,0xcf,0x48,0x71,0xfb,0xd6,0x60,0x7c,0xbb,0x4d,0x65,0xfd,0xfe,0xf8,0x64,0xbf,0xc9,0x10,0x98,0x3e,0xa6,0xe3,0xc0,0xed,0x49};
    static std::uint8_t subtrahend43[32] = {0x0d,0x2a,0x86,0x2b,0xf1,0x61,0x48,0x9b,0xf6,0xe2,0x69,0xd8,0x0d,0xd0,0xc3,0x94,0x6c,0x39,0x22,0x35,0x61,0x3a,0x91,0x2a,0x17,0x3b,0x2a,0x72,0x0e,0x65,0x65,0x5d};
    static std::uint8_t sum43[32]        = {0x34,0x0c,0x19,0xa8,0x56,0x9a,0x1b,0x61,0xd8,0x66,0x08,0x23,0xc8,0x8f,0xb9,0x26,0xe1,0x2c,0xdb,0xc9,0x97,0x2a,0x2e,0x9e,0xf9,0x5d,0x14,0x34,0xd5,0x5b,0x87,0xec};
    static int          borrow43         = 0;
    mpz_from_bytes(minuend, minuend43, 8);
    mpz_from_bytes(subtrahend, subtrahend43, 8);
    borrow = mpz_sub_borrow(sum, minuend, subtrahend, 0, 8);
    mpz_to_bytes(differencedata, sum, 8);
    if (std::memcmp(sum43, differencedata, 32) != 0 || borrow43 != borrow)
    {
        throw std::runtime_error("err in common::mpz_sub_borrow");
    }

    static std::uint8_t minuend44[32]    = {0xef,0x43,0xcd,0x45,0xa9,0x0e,0xad,0xa7,0x74,0x00,0x89,0x8e,0x25,0x43,0xbc,0x7f,0xc4,0x9c,0x7b,0x90,0x21,0x55,0xbf,0x24,0x2e,0xc1,0xc6,0x9c,0x24,0x72,0xf6,0xbe};
    static std::uint8_t subtrahend44[32] = {0x30,0x6f,0xaa,0x42,0xfb,0x4c,0x7e,0x0e,0x91,0xb6,0xc7,0x89,0x6f,0x7c,0x9c,0x3e,0xa4,0xeb,0x2e,0xb5,0x37,0x38,0xf2,0xbd,0xd5,0xe0,0x17,0x65,0x5e,0x1d,0xcb,0xc6};
    static std::uint8_t sum44[32]        = {0xbe,0xd4,0x23,0x02,0xad,0xc2,0x2f,0x98,0xe2,0x49,0xc2,0x04,0xb5,0xc7,0x20,0x41,0x1f,0xb1,0x4c,0xda,0xea,0x1c,0xcc,0x66,0x58,0xe1,0xaf,0x36,0xc6,0x55,0x2a,0xf8};
    static int          borrow44         = 0;
    mpz_from_bytes(minuend, minuend44, 8);
    mpz_from_bytes(subtrahend, subtrahend44, 8);
    borrow = mpz_sub_borrow(sum, minuend, subtrahend, 0, 8);
    mpz_to_bytes(differencedata, sum, 8);
    if (std::memcmp(sum44, differencedata, 32) != 0 || borrow44 != borrow)
    {
        throw std::runtime_error("err in common::mpz_sub_borrow");
    }

    static std::uint8_t minuend45[32]    = {0xfb,0x1e,0xf8,0xf8,0x3b,0x6d,0xd3,0xaf,0x68,0x1f,0x3c,0xa3,0x5d,0x89,0xb3,0x41,0xd3,0xfe,0x8c,0x72,0xf2,0xa3,0x15,0x0f,0xcf,0x22,0xa5,0x55,0x9a,0x16,0x55,0x88};
    static std::uint8_t subtrahend45[32] = {0x79,0xe0,0x23,0xac,0x88,0xaf,0xf5,0x5b,0x31,0x60,0x03,0x33,0xed,0x04,0x0b,0xc4,0xeb,0xad,0x72,0x79,0x59,0x99,0x45,0x6c,0x77,0x32,0xcf,0x53,0xd7,0x02,0x41,0x38};
    static std::uint8_t sum45[32]        = {0x81,0x3e,0xd5,0x4b,0xb2,0xbd,0xde,0x54,0x36,0xbf,0x39,0x6f,0x70,0x85,0xa7,0x7c,0xe8,0x51,0x19,0xf9,0x99,0x09,0xcf,0xa3,0x57,0xef,0xd6,0x01,0xc3,0x14,0x14,0x50};
    static int          borrow45         = 0;
    mpz_from_bytes(minuend, minuend45, 8);
    mpz_from_bytes(subtrahend, subtrahend45, 8);
    borrow = mpz_sub_borrow(sum, minuend, subtrahend, 0, 8);
    mpz_to_bytes(differencedata, sum, 8);
    if (std::memcmp(sum45, differencedata, 32) != 0 || borrow45 != borrow)
    {
        throw std::runtime_error("err in common::mpz_sub_borrow");
    }

    static std::uint8_t minuend46[32]    = {0x7d,0xfd,0x5d,0x7b,0x1b,0x85,0xc5,0xb9,0x09,0xf1,0x0e,0x76,0x01,0xc9,0x47,0x34,0x5d,0x17,0x74,0x43,0xda,0x94,0x74,0x10,0x21,0x10,0x35,0xa1,0xf7,0xe3,0x30,0x81};
    static std::uint8_t subtrahend46[32] = {0x1d,0x80,0xb9,0x31,0xf4,0xb1,0x2b,0x4c,0x06,0x0c,0xbc,0xd5,0xeb,0xd6,0x39,0xfb,0x85,0xfe,0x40,0x20,0x71,0x57,0x30,0x21,0x67,0xde,0x55,0xc8,0x2f,0xc6,0x66,0x15};
    static std::uint8_t sum46[32]        = {0x60,0x7c,0xa4,0x49,0x26,0xd4,0x9a,0x6d,0x03,0xe4,0x51,0xa0,0x15,0xf3,0x0d,0x38,0xd7,0x19,0x34,0x23,0x69,0x3d,0x43,0xee,0xb9,0x31,0xdf,0xd9,0xc8,0x1c,0xca,0x6c};
    static int          borrow46         = 0;
    mpz_from_bytes(minuend, minuend46, 8);
    mpz_from_bytes(subtrahend, subtrahend46, 8);
    borrow = mpz_sub_borrow(sum, minuend, subtrahend, 0, 8);
    mpz_to_bytes(differencedata, sum, 8);
    if (std::memcmp(sum46, differencedata, 32) != 0 || borrow46 != borrow)
    {
        throw std::runtime_error("err in common::mpz_sub_borrow");
    }

    static std::uint8_t minuend47[32]    = {0x68,0x92,0x9d,0x14,0xa9,0xad,0x59,0x30,0xfc,0x91,0x45,0xfc,0xcf,0x12,0x12,0x9e,0xb5,0x5c,0xb2,0xe5,0x51,0x17,0x18,0xe4,0xe9,0x74,0x5c,0x1d,0xfb,0xe4,0xfc,0x7f};
    static std::uint8_t subtrahend47[32] = {0x2e,0xd7,0x7c,0x81,0x1e,0xb7,0xde,0xcd,0x43,0xb6,0xd9,0xff,0x32,0x8c,0x96,0xe4,0xc5,0x8e,0x30,0xfd,0x0c,0xb3,0xc0,0x83,0x04,0xe5,0x5a,0xf3,0xcc,0xb6,0xe8,0x6a};
    static std::uint8_t sum47[32]        = {0x39,0xbb,0x20,0x93,0x8a,0xf5,0x7a,0x63,0xb8,0xda,0x6b,0xfd,0x9c,0x85,0x7b,0xb9,0xef,0xce,0x81,0xe8,0x44,0x63,0x58,0x61,0xe4,0x8f,0x01,0x2a,0x2f,0x2e,0x14,0x15};
    static int          borrow47         = 0;
    mpz_from_bytes(minuend, minuend47, 8);
    mpz_from_bytes(subtrahend, subtrahend47, 8);
    borrow = mpz_sub_borrow(sum, minuend, subtrahend, 0, 8);
    mpz_to_bytes(differencedata, sum, 8);
    if (std::memcmp(sum47, differencedata, 32) != 0 || borrow47 != borrow)
    {
        throw std::runtime_error("err in common::mpz_sub_borrow");
    }

    static std::uint8_t minuend48[32]    = {0x35,0x08,0xc9,0xf0,0x92,0x53,0xb4,0xfd,0x14,0x38,0x62,0xde,0xc1,0x8c,0x28,0xc8,0x4e,0xb8,0xfb,0x3d,0x02,0x8d,0x16,0x7a,0x90,0xb7,0xd8,0x4b,0x8e,0xb3,0x18,0x34};
    static std::uint8_t subtrahend48[32] = {0xe8,0xbb,0x77,0xd1,0xf7,0x89,0xc8,0x1b,0x74,0xf6,0xcd,0xf3,0x8d,0x17,0x62,0x84,0x0e,0x1f,0x6b,0xcd,0xba,0xb5,0x03,0xa0,0x6e,0xaa,0x62,0x1e,0x4f,0x30,0x82,0x25};
    static std::uint8_t sum48[32]        = {0x4c,0x4d,0x52,0x1e,0x9a,0xc9,0xec,0xe1,0x9f,0x41,0x94,0xeb,0x34,0x74,0xc6,0x44,0x40,0x99,0x8f,0x6f,0x47,0xd8,0x12,0xda,0x22,0x0d,0x76,0x2d,0x3f,0x82,0x96,0x0f};
    static int          borrow48         = -1;
    mpz_from_bytes(minuend, minuend48, 8);
    mpz_from_bytes(subtrahend, subtrahend48, 8);
    borrow = mpz_sub_borrow(sum, minuend, subtrahend, 0, 8);
    mpz_to_bytes(differencedata, sum, 8);
    if (std::memcmp(sum48, differencedata, 32) != 0 || borrow48 != borrow)
    {
        throw std::runtime_error("err in common::mpz_sub_borrow");
    }

    static std::uint8_t minuend49[32]    = {0x4a,0xb2,0xba,0x0c,0x18,0x12,0xde,0x54,0x0b,0xa9,0xaf,0xf0,0x29,0x4d,0xc0,0x46,0xd9,0x72,0xac,0x9b,0xee,0xd5,0xd8,0x98,0xb5,0x6c,0x30,0xe3,0x4b,0x53,0xee,0x4a};
    static std::uint8_t subtrahend49[32] = {0x61,0xb9,0x93,0xd0,0xca,0xf0,0x58,0xbc,0x39,0xb2,0x3b,0x95,0x6e,0x5d,0x80,0xa8,0xd0,0x41,0xc5,0x7d,0xe2,0xac,0x5c,0x2c,0xce,0x20,0xd9,0xaa,0xc1,0x7f,0x2f,0x42};
    static std::uint8_t sum49[32]        = {0xe8,0xf9,0x26,0x3b,0x4d,0x22,0x85,0x97,0xd1,0xf7,0x74,0x5a,0xba,0xf0,0x3f,0x9e,0x09,0x30,0xe7,0x1e,0x0c,0x29,0x7c,0x6b,0xe7,0x4b,0x57,0x38,0x89,0xd4,0xbf,0x08};
    static int          borrow49         = -1;
    mpz_from_bytes(minuend, minuend49, 8);
    mpz_from_bytes(subtrahend, subtrahend49, 8);
    borrow = mpz_sub_borrow(sum, minuend, subtrahend, 0, 8);
    mpz_to_bytes(differencedata, sum, 8);
    if (std::memcmp(sum49, differencedata, 32) != 0 || borrow49 != borrow)
    {
        throw std::runtime_error("err in common::mpz_sub_borrow");
    }

    static std::uint8_t minuend50[32]    = {0x70,0x58,0x9d,0x27,0x48,0x39,0xa0,0x39,0xd9,0x08,0x2e,0xb0,0x6b,0xe0,0xa2,0x74,0x4b,0x84,0xe6,0x59,0x17,0xc3,0xf5,0x1e,0x20,0xf1,0xa5,0x1b,0xf7,0xa9,0x4f,0x33};
    static std::uint8_t subtrahend50[32] = {0x97,0xf4,0x11,0xac,0x11,0xcc,0xaa,0xe8,0x55,0xe1,0x21,0x4e,0x30,0x07,0xe1,0x27,0x0f,0xfb,0xb8,0x19,0xaa,0xde,0x7b,0xb4,0xae,0xa3,0x43,0x9a,0x70,0xe7,0xa7,0x2e};
    static std::uint8_t sum50[32]        = {0xd8,0x64,0x8b,0x7b,0x36,0x6c,0xf5,0x51,0x83,0x27,0x0d,0x62,0x3b,0xd8,0xc1,0x4d,0x3b,0x89,0x2e,0x3f,0x6c,0xe5,0x79,0x69,0x72,0x4e,0x61,0x81,0x86,0xc1,0xa8,0x05};
    static int          borrow50         = -1;
    mpz_from_bytes(minuend, minuend50, 8);
    mpz_from_bytes(subtrahend, subtrahend50, 8);
    borrow = mpz_sub_borrow(sum, minuend, subtrahend, 0, 8);
    mpz_to_bytes(differencedata, sum, 8);
    if (std::memcmp(sum50, differencedata, 32) != 0 || borrow50 != borrow)
    {
        throw std::runtime_error("err in common::mpz_sub_borrow");
    }

    static std::uint8_t minuend51[32]    = {0x13,0x86,0xa6,0x2b,0x8d,0xa8,0xfc,0xdc,0xa8,0x12,0xbe,0xba,0xaa,0x45,0x9e,0x88,0xa7,0x4d,0x2e,0x16,0xbf,0xc5,0x8a,0x3d,0x70,0xeb,0x40,0xa9,0x6d,0x23,0xf6,0xf1};
    static std::uint8_t subtrahend51[32] = {0x5d,0xce,0xb3,0xa3,0xd8,0x78,0x2e,0x93,0x4e,0xa7,0x1e,0xe5,0xd1,0x56,0x02,0x77,0xf2,0xa4,0x9d,0xff,0xc4,0xa1,0x5f,0x6a,0xc2,0x6b,0x48,0x0d,0xfc,0xea,0xfe,0x65};
    static std::uint8_t sum51[32]        = {0xb5,0xb7,0xf2,0x87,0xb5,0x30,0xce,0x49,0x59,0x6b,0x9f,0xd4,0xd8,0xef,0x9c,0x10,0xb4,0xa8,0x90,0x16,0xfb,0x24,0x2a,0xd2,0xae,0x7f,0xf8,0x9b,0x70,0x38,0xf8,0x8c};
    static int          borrow51         = -1;
    mpz_from_bytes(minuend, minuend51, 8);
    mpz_from_bytes(subtrahend, subtrahend51, 8);
    borrow = mpz_sub_borrow(sum, minuend, subtrahend, 0, 8);
    mpz_to_bytes(differencedata, sum, 8);
    if (std::memcmp(sum51, differencedata, 32) != 0 || borrow51 != borrow)
    {
        throw std::runtime_error("err in common::mpz_sub_borrow");
    }

    static std::uint8_t minuend52[32]    = {0xc9,0x16,0x13,0x8d,0x58,0xfb,0x75,0x59,0xd4,0x93,0x16,0x95,0x38,0xc7,0x8f,0xe9,0xd2,0x34,0xa1,0x24,0x75,0xb8,0x5c,0xe1,0x53,0x8b,0x28,0x0f,0x61,0xe9,0x29,0xed};
    static std::uint8_t subtrahend52[32] = {0x22,0x51,0xed,0xfb,0x56,0x06,0x13,0xf9,0xf4,0xc0,0x94,0xa9,0xb8,0x1c,0x1d,0xed,0xad,0xf1,0x7a,0x86,0x63,0xc7,0x98,0xd2,0x38,0xa5,0xb4,0x16,0x6d,0x6b,0x97,0xb9};
    static std::uint8_t sum52[32]        = {0xa6,0xc4,0x25,0x92,0x02,0xf5,0x61,0x5f,0xdf,0xd2,0x81,0xeb,0x80,0xab,0x71,0xfc,0x24,0x43,0x26,0x9e,0x11,0xf0,0xc4,0x0f,0x1a,0xe5,0x73,0xf8,0xf4,0x7d,0x92,0x34};
    static int          borrow52         = 0;
    mpz_from_bytes(minuend, minuend52, 8);
    mpz_from_bytes(subtrahend, subtrahend52, 8);
    borrow = mpz_sub_borrow(sum, minuend, subtrahend, 0, 8);
    mpz_to_bytes(differencedata, sum, 8);
    if (std::memcmp(sum52, differencedata, 32) != 0 || borrow52 != borrow)
    {
        throw std::runtime_error("err in common::mpz_sub_borrow");
    }

    static std::uint8_t minuend53[32]    = {0xc5,0xa5,0x94,0xef,0xca,0x32,0xd8,0xa0,0x93,0x0a,0x5f,0x78,0xef,0xb3,0x51,0x21,0x16,0x07,0x05,0xf9,0x09,0xc9,0xf8,0x4e,0xd8,0x61,0x66,0xf3,0x30,0xba,0x38,0xeb};
    static std::uint8_t subtrahend53[32] = {0xa4,0xaf,0xc4,0x27,0x67,0xac,0x21,0x32,0x94,0x25,0x1d,0x95,0xfa,0x5a,0x8c,0xba,0x68,0x73,0xfa,0xba,0x8b,0xbd,0x35,0xe5,0x86,0xb8,0x11,0x17,0x3a,0xa3,0xdc,0xed};
    static std::uint8_t sum53[32]        = {0x20,0xf5,0xd0,0xc8,0x62,0x86,0xb7,0x6d,0xfe,0xe5,0x41,0xe2,0xf5,0x58,0xc4,0x66,0xad,0x93,0x0b,0x3e,0x7e,0x0c,0xc2,0x69,0x51,0xa9,0x55,0xdb,0xf6,0x16,0x5b,0xfe};
    static int          borrow53         = 0;
    mpz_from_bytes(minuend, minuend53, 8);
    mpz_from_bytes(subtrahend, subtrahend53, 8);
    borrow = mpz_sub_borrow(sum, minuend, subtrahend, 0, 8);
    mpz_to_bytes(differencedata, sum, 8);
    if (std::memcmp(sum53, differencedata, 32) != 0 || borrow53 != borrow)
    {
        throw std::runtime_error("err in common::mpz_sub_borrow");
    }

    static std::uint8_t minuend54[32]    = {0x42,0x39,0xf2,0x54,0x8d,0xd5,0xf4,0xb4,0x6f,0x98,0x8f,0xf5,0xf1,0x5e,0xdb,0xaf,0x31,0x29,0x71,0x1a,0xd8,0xc1,0x6f,0xa1,0xb6,0xdb,0xdb,0x00,0x5b,0xaa,0xbf,0xb8};
    static std::uint8_t subtrahend54[32] = {0xc7,0xcd,0xa1,0x64,0x9d,0xdf,0xbe,0xf7,0xde,0x14,0x76,0x4e,0x46,0xdb,0x4f,0x14,0x2d,0x33,0xd2,0xb9,0xcf,0x0d,0x2b,0xd4,0x0e,0x4a,0xcd,0x1c,0x82,0x2e,0x71,0xa9};
    static std::uint8_t sum54[32]        = {0x7a,0x6c,0x50,0xef,0xef,0xf6,0x35,0xbc,0x91,0x84,0x19,0xa7,0xaa,0x83,0x8c,0x9b,0x03,0xf5,0x9e,0x61,0x09,0xb4,0x43,0xcd,0xa8,0x91,0x0d,0xe3,0xd9,0x7c,0x4e,0x0f};
    static int          borrow54         = -1;
    mpz_from_bytes(minuend, minuend54, 8);
    mpz_from_bytes(subtrahend, subtrahend54, 8);
    borrow = mpz_sub_borrow(sum, minuend, subtrahend, 0, 8);
    mpz_to_bytes(differencedata, sum, 8);
    if (std::memcmp(sum54, differencedata, 32) != 0 || borrow54 != borrow)
    {
        throw std::runtime_error("err in common::mpz_sub_borrow");
    }

    static std::uint8_t minuend55[32]    = {0x25,0xa5,0x21,0x3d,0x40,0x34,0x42,0xd5,0x86,0xb1,0x52,0x0d,0xdd,0x48,0x8d,0x0a,0xcb,0x16,0x6f,0x36,0xea,0xef,0x7a,0x05,0x23,0xc6,0xce,0x54,0x32,0x31,0x46,0x48};
    static std::uint8_t subtrahend55[32] = {0xde,0xda,0x5c,0x75,0x8b,0x09,0xa8,0xdd,0xf4,0xf8,0x5f,0x42,0xe1,0x65,0xac,0x9b,0x74,0x33,0xf3,0x1e,0xe4,0x18,0x79,0x4f,0x67,0x8f,0xde,0xb1,0xdc,0x12,0xeb,0xdc};
    static std::uint8_t sum55[32]        = {0x46,0xca,0xc4,0xc7,0xb5,0x2a,0x99,0xf7,0x91,0xb8,0xf2,0xca,0xfb,0xe2,0xe0,0x6f,0x56,0xe2,0x7c,0x18,0x06,0xd7,0x00,0xb5,0xbc,0x36,0xef,0xa2,0x56,0x1e,0x5a,0x6c};
    static int          borrow55         = -1;
    mpz_from_bytes(minuend, minuend55, 8);
    mpz_from_bytes(subtrahend, subtrahend55, 8);
    borrow = mpz_sub_borrow(sum, minuend, subtrahend, 0, 8);
    mpz_to_bytes(differencedata, sum, 8);
    if (std::memcmp(sum55, differencedata, 32) != 0 || borrow55 != borrow)
    {
        throw std::runtime_error("err in common::mpz_sub_borrow");
    }

    static std::uint8_t minuend56[32]    = {0x85,0xe6,0x05,0x10,0x66,0xc7,0x0a,0xc7,0xf0,0x76,0xc9,0x53,0x10,0xb2,0xe3,0xb2,0x22,0x15,0x36,0x82,0xb9,0x43,0x83,0x07,0xf2,0x7c,0xd4,0xa0,0xdd,0x99,0x65,0x62};
    static std::uint8_t subtrahend56[32] = {0x92,0xc2,0x7a,0xe5,0x0f,0x8a,0x2c,0x62,0x89,0xdd,0x8d,0x63,0x53,0x90,0x89,0x5f,0xfa,0x63,0x39,0x1e,0x31,0xc1,0x47,0xef,0x65,0x59,0x99,0xb6,0x57,0x07,0x1b,0xdc};
    static std::uint8_t sum56[32]        = {0xf3,0x23,0x8a,0x2b,0x57,0x3c,0xde,0x65,0x66,0x99,0x3b,0xef,0xbd,0x22,0x5a,0x52,0x27,0xb1,0xfd,0x64,0x87,0x82,0x3b,0x18,0x8d,0x23,0x3a,0xea,0x86,0x92,0x49,0x86};
    static int          borrow56         = -1;
    mpz_from_bytes(minuend, minuend56, 8);
    mpz_from_bytes(subtrahend, subtrahend56, 8);
    borrow = mpz_sub_borrow(sum, minuend, subtrahend, 0, 8);
    mpz_to_bytes(differencedata, sum, 8);
    if (std::memcmp(sum56, differencedata, 32) != 0 || borrow56 != borrow)
    {
        throw std::runtime_error("err in common::mpz_sub_borrow");
    }

    static std::uint8_t minuend57[32]    = {0x20,0x8e,0x52,0xc6,0x6d,0xe0,0x7e,0xd7,0xdb,0x09,0x90,0x5c,0xe2,0x5d,0x40,0x06,0x88,0xaf,0x87,0x69,0x1a,0xc0,0xec,0xc8,0x64,0x6b,0xda,0xa4,0x87,0x99,0x6c,0x63};
    static std::uint8_t subtrahend57[32] = {0x8d,0x7f,0x39,0xe7,0xd6,0x06,0x65,0xe8,0x9e,0x4b,0xe4,0x30,0xb7,0xc1,0x33,0xf0,0xbf,0x15,0xa6,0x50,0x0a,0x8c,0x99,0x7b,0xb7,0xc1,0x69,0x8d,0xb3,0x0f,0x00,0x9e};
    static std::uint8_t sum57[32]        = {0x93,0x0f,0x18,0xde,0x97,0xda,0x18,0xef,0x3c,0xbd,0xac,0x2c,0x2a,0x9c,0x0c,0x15,0xc9,0x99,0xe1,0x19,0x10,0x34,0x53,0x4c,0xac,0xaa,0x71,0x16,0xd4,0x8a,0x6b,0xc5};
    static int          borrow57         = -1;
    mpz_from_bytes(minuend, minuend57, 8);
    mpz_from_bytes(subtrahend, subtrahend57, 8);
    borrow = mpz_sub_borrow(sum, minuend, subtrahend, 0, 8);
    mpz_to_bytes(differencedata, sum, 8);
    if (std::memcmp(sum57, differencedata, 32) != 0 || borrow57 != borrow)
    {
        throw std::runtime_error("err in common::mpz_sub_borrow");
    }

    static std::uint8_t minuend58[32]    = {0xd3,0xa2,0x7d,0x7e,0x0c,0x54,0x95,0x5c,0xb0,0xcc,0x34,0x54,0x44,0x75,0x9a,0xd0,0xe9,0x61,0x5d,0x1a,0x96,0x31,0x55,0xc8,0x67,0x4e,0x03,0xf8,0x19,0xb6,0x3a,0x5d};
    static std::uint8_t subtrahend58[32] = {0x71,0x55,0x03,0x07,0x2c,0xbb,0xee,0x59,0x5c,0x3e,0x54,0x23,0x16,0x99,0x95,0x1f,0x40,0xba,0xca,0x8e,0x1f,0xb7,0x8f,0x5c,0xdc,0x20,0xac,0xc7,0xfa,0x33,0x44,0x29};
    static std::uint8_t sum58[32]        = {0x62,0x4d,0x7a,0x76,0xdf,0x98,0xa7,0x03,0x54,0x8d,0xe0,0x31,0x2d,0xdc,0x05,0xb1,0xa8,0xa6,0x92,0x8c,0x76,0x79,0xc6,0x6b,0x8b,0x2d,0x57,0x30,0x1f,0x82,0xf6,0x34};
    static int          borrow58         = 0;
    mpz_from_bytes(minuend, minuend58, 8);
    mpz_from_bytes(subtrahend, subtrahend58, 8);
    borrow = mpz_sub_borrow(sum, minuend, subtrahend, 0, 8);
    mpz_to_bytes(differencedata, sum, 8);
    if (std::memcmp(sum58, differencedata, 32) != 0 || borrow58 != borrow)
    {
        throw std::runtime_error("err in common::mpz_sub_borrow");
    }

    static std::uint8_t minuend59[32]    = {0xdf,0x17,0xf3,0x2d,0x49,0x4d,0x0f,0x27,0x5b,0x84,0x00,0xd1,0xb7,0x80,0xaa,0xd3,0x3e,0x6c,0xc9,0xfa,0x0a,0x69,0xa6,0xf4,0x49,0xe4,0x37,0xe6,0x33,0x2b,0x58,0x40};
    static std::uint8_t subtrahend59[32] = {0x39,0x12,0x8e,0xce,0x07,0x6e,0x10,0x49,0x96,0x9a,0x16,0xd5,0xd5,0xf1,0x16,0xe8,0x32,0xf3,0x08,0xac,0xe1,0x4c,0xe8,0x11,0xf1,0xfd,0x09,0x60,0xb0,0xd3,0x10,0xbb};
    static std::uint8_t sum59[32]        = {0xa6,0x05,0x64,0x5f,0x41,0xde,0xfe,0xdd,0xc4,0xe9,0xe9,0xfb,0xe1,0x8f,0x93,0xeb,0x0b,0x79,0xc1,0x4d,0x29,0x1c,0xbe,0xe2,0x57,0xe7,0x2e,0x85,0x82,0x58,0x47,0x85};
    static int          borrow59         = 0;
    mpz_from_bytes(minuend, minuend59, 8);
    mpz_from_bytes(subtrahend, subtrahend59, 8);
    borrow = mpz_sub_borrow(sum, minuend, subtrahend, 0, 8);
    mpz_to_bytes(differencedata, sum, 8);
    if (std::memcmp(sum59, differencedata, 32) != 0 || borrow59 != borrow)
    {
        throw std::runtime_error("err in common::mpz_sub_borrow");
    }

    static std::uint8_t minuend60[32]    = {0x9c,0xe8,0x6a,0xc7,0xf6,0x4b,0xd7,0xf1,0xb4,0x9c,0xa8,0x43,0x03,0xf7,0xd3,0x59,0xed,0xfe,0x65,0x1e,0xed,0x59,0x42,0xb1,0x83,0x4e,0x7f,0xbf,0x19,0x45,0xcd,0xb2};
    static std::uint8_t subtrahend60[32] = {0xec,0xcd,0x8a,0x47,0x31,0x96,0x09,0xd0,0x3c,0x9e,0xe3,0x80,0xe5,0x78,0xef,0xed,0x98,0x67,0x96,0xa7,0xbe,0x75,0x8b,0x14,0xb0,0x33,0xd9,0xbe,0x82,0xd9,0x60,0x43};
    static std::uint8_t sum60[32]        = {0xb0,0x1a,0xe0,0x80,0xc4,0xb5,0xce,0x21,0x77,0xfd,0xc4,0xc2,0x1e,0x7e,0xe3,0x6c,0x55,0x96,0xce,0x77,0x2e,0xe3,0xb7,0x9c,0xd3,0x1a,0xa6,0x00,0x96,0x6c,0x6d,0x6f};
    static int          borrow60         = -1;
    mpz_from_bytes(minuend, minuend60, 8);
    mpz_from_bytes(subtrahend, subtrahend60, 8);
    borrow = mpz_sub_borrow(sum, minuend, subtrahend, 0, 8);
    mpz_to_bytes(differencedata, sum, 8);
    if (std::memcmp(sum60, differencedata, 32) != 0 || borrow60 != borrow)
    {
        throw std::runtime_error("err in common::mpz_sub_borrow");
    }

    static std::uint8_t minuend61[32]    = {0xfb,0xe9,0x02,0x2c,0xe5,0x6c,0x89,0xef,0xc4,0x7c,0x2d,0xac,0xb8,0xc2,0x6c,0x0e,0x5d,0xf9,0x87,0x44,0x0a,0x35,0x9f,0xc3,0xe3,0xb7,0x1f,0xc5,0x38,0x66,0x4d,0x4f};
    static std::uint8_t subtrahend61[32] = {0xcf,0xe1,0x5f,0x3a,0x86,0x99,0xd1,0x47,0xa5,0x4d,0x43,0x82,0xca,0x94,0xda,0x7d,0xc8,0x89,0x01,0x5a,0xac,0xcc,0x6a,0xa0,0x09,0xa4,0xb0,0x87,0xbc,0x22,0xe3,0xbd};
    static std::uint8_t sum61[32]        = {0x2c,0x07,0xa2,0xf2,0x5e,0xd2,0xb8,0xa8,0x1f,0x2e,0xea,0x29,0xee,0x2d,0x91,0x90,0x95,0x70,0x85,0xe9,0x5d,0x69,0x35,0x23,0xda,0x12,0x6f,0x3d,0x7c,0x43,0x69,0x92};
    static int          borrow61         = 0;
    mpz_from_bytes(minuend, minuend61, 8);
    mpz_from_bytes(subtrahend, subtrahend61, 8);
    borrow = mpz_sub_borrow(sum, minuend, subtrahend, 0, 8);
    mpz_to_bytes(differencedata, sum, 8);
    if (std::memcmp(sum61, differencedata, 32) != 0 || borrow61 != borrow)
    {
        throw std::runtime_error("err in common::mpz_sub_borrow");
    }

    static std::uint8_t minuend62[32]    = {0x30,0x9c,0x51,0xa1,0x3b,0xa1,0x83,0x97,0xca,0x78,0x2f,0x99,0x22,0xdd,0x3e,0xda,0xdd,0xdc,0x8e,0x7b,0xf9,0xb1,0x25,0xac,0xe2,0xc4,0x64,0xce,0x61,0x24,0xfd,0xc1};
    static std::uint8_t subtrahend62[32] = {0x86,0x43,0x6d,0x11,0xb6,0xf6,0x0e,0x6b,0x2d,0xeb,0x2b,0x8f,0xc3,0xeb,0xd0,0x75,0xe7,0xf3,0x93,0xe8,0xf7,0x93,0xcf,0x9c,0x8b,0x35,0x08,0xfc,0x7c,0x9c,0x17,0xe4};
    static std::uint8_t sum62[32]        = {0xaa,0x58,0xe4,0x8f,0x84,0xab,0x75,0x2c,0x9c,0x8d,0x04,0x09,0x5e,0xf1,0x6e,0x64,0xf5,0xe8,0xfa,0x93,0x02,0x1d,0x56,0x10,0x57,0x8f,0x5b,0xd1,0xe4,0x88,0xe5,0xdd};
    static int          borrow62         = -1;
    mpz_from_bytes(minuend, minuend62, 8);
    mpz_from_bytes(subtrahend, subtrahend62, 8);
    borrow = mpz_sub_borrow(sum, minuend, subtrahend, 0, 8);
    mpz_to_bytes(differencedata, sum, 8);
    if (std::memcmp(sum62, differencedata, 32) != 0 || borrow62 != borrow)
    {
        throw std::runtime_error("err in common::mpz_sub_borrow");
    }

    static std::uint8_t minuend63[32]    = {0x50,0x15,0x7f,0x9a,0x73,0x92,0x18,0xe3,0xb9,0x2f,0x85,0x0e,0x0a,0xeb,0x5c,0x2e,0xbd,0xbe,0x8d,0x85,0xac,0x91,0x30,0x01,0x3c,0x5f,0x32,0x5c,0x9c,0x94,0xf7,0x9f};
    static std::uint8_t subtrahend63[32] = {0x32,0x9e,0xbf,0x61,0x21,0xe9,0x25,0x51,0xe6,0x48,0x83,0x7c,0xfc,0x18,0x75,0x57,0xc6,0x6a,0x83,0x6a,0x21,0x6d,0x7e,0xb0,0x70,0xcb,0x64,0x38,0x84,0xc8,0xba,0xeb};
    static std::uint8_t sum63[32]        = {0x1d,0x76,0xc0,0x39,0x51,0xa8,0xf3,0x91,0xd2,0xe7,0x01,0x91,0x0e,0xd2,0xe6,0xd6,0xf7,0x54,0x0a,0x1b,0x8b,0x23,0xb1,0x50,0xcb,0x93,0xce,0x24,0x17,0xcc,0x3c,0xb4};
    static int          borrow63         = 0;
    mpz_from_bytes(minuend, minuend63, 8);
    mpz_from_bytes(subtrahend, subtrahend63, 8);
    borrow = mpz_sub_borrow(sum, minuend, subtrahend, 0, 8);
    mpz_to_bytes(differencedata, sum, 8);
    if (std::memcmp(sum63, differencedata, 32) != 0 || borrow63 != borrow)
    {
        throw std::runtime_error("err in common::mpz_sub_borrow");
    }

    static std::uint8_t minuend64[32]    = {0x6f,0xbb,0x17,0x81,0x7a,0xa8,0xe8,0x6b,0x74,0x0d,0x46,0x7f,0x55,0xea,0xda,0xad,0x8c,0xec,0x94,0xd6,0x2d,0x49,0xe0,0x7a,0xfc,0x4a,0x32,0x01,0x40,0x57,0xd6,0x71};
    static std::uint8_t subtrahend64[32] = {0xd9,0x8a,0x28,0x04,0xc0,0x2b,0x82,0x14,0x36,0xd2,0xb4,0x3b,0x32,0x59,0x80,0x11,0x95,0x71,0xae,0x52,0x8f,0xf7,0xa1,0xba,0x57,0x96,0x42,0x6d,0x30,0x05,0x3b,0x13};
    static std::uint8_t sum64[32]        = {0x96,0x30,0xef,0x7c,0xba,0x7d,0x66,0x57,0x3d,0x3a,0x92,0x44,0x23,0x91,0x5a,0x9b,0xf7,0x7a,0xe6,0x83,0x9d,0x52,0x3e,0xc0,0xa4,0xb3,0xef,0x94,0x10,0x52,0x9b,0x5e};
    static int          borrow64         = -1;
    mpz_from_bytes(minuend, minuend64, 8);
    mpz_from_bytes(subtrahend, subtrahend64, 8);
    borrow = mpz_sub_borrow(sum, minuend, subtrahend, 0, 8);
    mpz_to_bytes(differencedata, sum, 8);
    if (std::memcmp(sum64, differencedata, 32) != 0 || borrow64 != borrow)
    {
        throw std::runtime_error("err in common::mpz_sub_borrow");
    }

    static std::uint8_t minuend65[32]    = {0x63,0x02,0xbe,0x29,0xef,0x25,0x03,0x53,0xf3,0xcf,0xa6,0x63,0x75,0xaf,0xca,0xd7,0x96,0x1d,0x90,0x3a,0xc8,0xd2,0xcc,0x1c,0x24,0x0d,0x7a,0xf1,0xba,0x99,0xd4,0xe4};
    static std::uint8_t subtrahend65[32] = {0xf2,0x83,0xf4,0x1f,0xf7,0x73,0x88,0x95,0xf5,0x83,0x6f,0x58,0xf6,0x1d,0xcc,0xa4,0x88,0x67,0x4c,0x07,0x8b,0x74,0xb4,0x86,0x5a,0xc1,0x21,0x15,0x06,0x01,0x63,0x55};
    static std::uint8_t sum65[32]        = {0x70,0x7e,0xca,0x09,0xf7,0xb1,0x7a,0xbd,0xfe,0x4c,0x37,0x0a,0x7f,0x91,0xfe,0x33,0x0d,0xb6,0x44,0x33,0x3d,0x5e,0x17,0x95,0xc9,0x4c,0x59,0xdc,0xb4,0x98,0x71,0x8f};
    static int          borrow65         = -1;
    mpz_from_bytes(minuend, minuend65, 8);
    mpz_from_bytes(subtrahend, subtrahend65, 8);
    borrow = mpz_sub_borrow(sum, minuend, subtrahend, 0, 8);
    mpz_to_bytes(differencedata, sum, 8);
    if (std::memcmp(sum65, differencedata, 32) != 0 || borrow65 != borrow)
    {
        throw std::runtime_error("err in common::mpz_sub_borrow");
    }

    static std::uint8_t minuend66[32]    = {0x5c,0x7d,0x79,0x24,0x0e,0xa6,0x21,0xf8,0x61,0xe0,0x75,0x68,0xc2,0x82,0x19,0xc4,0x2a,0xfe,0x94,0xc9,0x45,0xf2,0x3a,0x47,0x64,0x23,0x42,0xb2,0xc2,0x4d,0xb4,0x41};
    static std::uint8_t subtrahend66[32] = {0x8a,0xfa,0x2e,0xb6,0x47,0xb2,0x86,0x65,0xed,0x91,0x93,0x15,0x2d,0xe7,0x29,0xc7,0xcc,0x73,0x9a,0x19,0x71,0xfe,0x97,0x5f,0xe4,0x75,0xbb,0x64,0xf2,0xe4,0xd7,0x5b};
    static std::uint8_t sum66[32]        = {0xd1,0x83,0x4a,0x6d,0xc6,0xf3,0x9b,0x92,0x74,0x4e,0xe2,0x53,0x94,0x9a,0xef,0xfc,0x5e,0x8a,0xfa,0xaf,0xd3,0xf3,0xa2,0xe7,0x7f,0xad,0x87,0x4d,0xcf,0x68,0xdc,0xe6};
    static int          borrow66         = -1;
    mpz_from_bytes(minuend, minuend66, 8);
    mpz_from_bytes(subtrahend, subtrahend66, 8);
    borrow = mpz_sub_borrow(sum, minuend, subtrahend, 0, 8);
    mpz_to_bytes(differencedata, sum, 8);
    if (std::memcmp(sum66, differencedata, 32) != 0 || borrow66 != borrow)
    {
        throw std::runtime_error("err in common::mpz_sub_borrow");
    }

    static std::uint8_t minuend67[32]    = {0x60,0x62,0x4c,0xd2,0x5b,0x83,0x6a,0x4c,0x0a,0x2b,0xc1,0x38,0x27,0x04,0x07,0x38,0x84,0x5b,0xaf,0x14,0x92,0xb1,0x86,0x28,0xec,0xb7,0xe0,0xa8,0x1d,0x60,0x0e,0xe2};
    static std::uint8_t subtrahend67[32] = {0x6c,0x31,0x65,0x0a,0x2c,0x4b,0x0c,0x7d,0xc8,0xf2,0x27,0x42,0xe5,0x17,0x02,0xe0,0x92,0x04,0xe3,0xc9,0xfd,0x3e,0x86,0x76,0x5a,0xe3,0xb0,0x3b,0x34,0x09,0xba,0x93};
    static std::uint8_t sum67[32]        = {0xf4,0x30,0xe7,0xc8,0x2f,0x38,0x5d,0xce,0x41,0x39,0x99,0xf5,0x41,0xed,0x04,0x57,0xf2,0x56,0xcb,0x4a,0x95,0x72,0xff,0xb2,0x91,0xd4,0x30,0x6c,0xe9,0x56,0x54,0x4f};
    static int          borrow67         = -1;
    mpz_from_bytes(minuend, minuend67, 8);
    mpz_from_bytes(subtrahend, subtrahend67, 8);
    borrow = mpz_sub_borrow(sum, minuend, subtrahend, 0, 8);
    mpz_to_bytes(differencedata, sum, 8);
    if (std::memcmp(sum67, differencedata, 32) != 0 || borrow67 != borrow)
    {
        throw std::runtime_error("err in common::mpz_sub_borrow");
    }

    static std::uint8_t minuend68[32]    = {0x1e,0x8a,0x92,0x1e,0xd4,0xdc,0xe6,0xcb,0xc5,0xa0,0x2d,0x70,0x33,0xf8,0xbe,0x50,0x36,0xd4,0x1d,0x21,0xc9,0x8c,0x41,0x9d,0x3f,0xfc,0x0c,0xfc,0x7f,0x12,0x23,0x10};
    static std::uint8_t subtrahend68[32] = {0x25,0x4b,0xb2,0x0f,0x25,0x75,0x03,0x02,0xae,0x52,0xab,0xd3,0x2b,0x3a,0xde,0x07,0x7c,0xe0,0x71,0xe6,0x71,0xbd,0xbd,0xe9,0x35,0xf8,0x4e,0x24,0x32,0x05,0xec,0x87};
    static std::uint8_t sum68[32]        = {0xf9,0x3e,0xe0,0x0f,0xaf,0x67,0xe3,0xc9,0x17,0x4d,0x81,0x9d,0x08,0xbd,0xe0,0x48,0xb9,0xf3,0xab,0x3b,0x57,0xce,0x83,0xb4,0x0a,0x03,0xbe,0xd8,0x4d,0x0c,0x36,0x89};
    static int          borrow68         = -1;
    mpz_from_bytes(minuend, minuend68, 8);
    mpz_from_bytes(subtrahend, subtrahend68, 8);
    borrow = mpz_sub_borrow(sum, minuend, subtrahend, 0, 8);
    mpz_to_bytes(differencedata, sum, 8);
    if (std::memcmp(sum68, differencedata, 32) != 0 || borrow68 != borrow)
    {
        throw std::runtime_error("err in common::mpz_sub_borrow");
    }

    static std::uint8_t minuend69[32]    = {0xe7,0xc1,0x5b,0xd7,0x9b,0x84,0xac,0x34,0x03,0xcd,0x2e,0xd4,0x87,0x34,0x9b,0xf4,0x3b,0x25,0x49,0x28,0xc2,0x87,0x55,0x60,0x28,0x2f,0x46,0xd7,0x75,0x21,0x68,0x98};
    static std::uint8_t subtrahend69[32] = {0x6a,0xdf,0x9a,0xfb,0xf9,0x01,0xc0,0xdc,0x99,0x4e,0x26,0x77,0xb7,0xb2,0x9e,0x6b,0x8e,0x0f,0x15,0xe1,0xe9,0x8e,0x3b,0x92,0xb3,0x53,0xca,0x7a,0xa1,0xd9,0x5c,0x03};
    static std::uint8_t sum69[32]        = {0x7c,0xe1,0xc0,0xdb,0xa2,0x82,0xeb,0x57,0x6a,0x7f,0x08,0x5c,0xcf,0x81,0xfd,0x88,0xad,0x16,0x33,0x46,0xd8,0xf9,0x19,0xcd,0x74,0xdb,0x7c,0x5c,0xd3,0x48,0x0c,0x95};
    static int          borrow69         = 0;
    mpz_from_bytes(minuend, minuend69, 8);
    mpz_from_bytes(subtrahend, subtrahend69, 8);
    borrow = mpz_sub_borrow(sum, minuend, subtrahend, 0, 8);
    mpz_to_bytes(differencedata, sum, 8);
    if (std::memcmp(sum69, differencedata, 32) != 0 || borrow69 != borrow)
    {
        throw std::runtime_error("err in common::mpz_sub_borrow");
    }

    static std::uint8_t minuend70[32]    = {0x30,0xad,0x6b,0x5d,0x4e,0xe7,0xed,0x04,0xdf,0x78,0x87,0xba,0xb8,0xc0,0x39,0xdc,0xb5,0x3a,0x07,0x3b,0xa4,0xce,0xba,0xa8,0x8b,0x64,0x97,0x68,0x7f,0x6e,0x12,0x2c};
    static std::uint8_t subtrahend70[32] = {0x2e,0x07,0x38,0xfe,0x0a,0x6c,0xb9,0x89,0xa6,0x1e,0xa8,0xaa,0x0c,0x32,0x19,0x1b,0xd3,0x19,0x80,0xff,0xfa,0x01,0xee,0xba,0x0e,0x24,0x5d,0xee,0x99,0xfa,0xa1,0x66};
    static std::uint8_t sum70[32]        = {0x02,0xa6,0x32,0x5f,0x44,0x7b,0x33,0x7b,0x39,0x59,0xdf,0x10,0xac,0x8e,0x20,0xc0,0xe2,0x20,0x86,0x3b,0xaa,0xcc,0xcb,0xee,0x7d,0x40,0x39,0x79,0xe5,0x73,0x70,0xc6};
    static int          borrow70         = 0;
    mpz_from_bytes(minuend, minuend70, 8);
    mpz_from_bytes(subtrahend, subtrahend70, 8);
    borrow = mpz_sub_borrow(sum, minuend, subtrahend, 0, 8);
    mpz_to_bytes(differencedata, sum, 8);
    if (std::memcmp(sum70, differencedata, 32) != 0 || borrow70 != borrow)
    {
        throw std::runtime_error("err in common::mpz_sub_borrow");
    }

    static std::uint8_t minuend71[32]    = {0x3e,0x59,0x70,0x7b,0x75,0x6d,0x94,0xbf,0x7e,0xa8,0x78,0xc8,0xf3,0x00,0x10,0x64,0x97,0x83,0xdd,0x85,0x8e,0x81,0x97,0x2f,0x73,0xa6,0xd9,0x71,0xa1,0xf0,0x82,0x0c};
    static std::uint8_t subtrahend71[32] = {0xa6,0x9a,0x34,0x93,0xcc,0x92,0x48,0xd8,0xad,0x67,0xd1,0xdc,0x64,0x2b,0x9b,0xfa,0x8b,0x5a,0xea,0xe2,0xb0,0x82,0xc8,0xe3,0xc1,0xfb,0x85,0x44,0x65,0x91,0x4b,0x27};
    static std::uint8_t sum71[32]        = {0x97,0xbf,0x3b,0xe7,0xa8,0xdb,0x4b,0xe6,0xd1,0x40,0xa6,0xec,0x8e,0xd4,0x74,0x6a,0x0c,0x28,0xf2,0xa2,0xdd,0xfe,0xce,0x4b,0xb1,0xab,0x54,0x2d,0x3c,0x5f,0x36,0xe5};
    static int          borrow71         = -1;
    mpz_from_bytes(minuend, minuend71, 8);
    mpz_from_bytes(subtrahend, subtrahend71, 8);
    borrow = mpz_sub_borrow(sum, minuend, subtrahend, 0, 8);
    mpz_to_bytes(differencedata, sum, 8);
    if (std::memcmp(sum71, differencedata, 32) != 0 || borrow71 != borrow)
    {
        throw std::runtime_error("err in common::mpz_sub_borrow");
    }

    static std::uint8_t minuend72[32]    = {0x9a,0xcc,0xbf,0x75,0xd1,0xb9,0xf3,0xb3,0x86,0x0e,0x70,0x6c,0x00,0x04,0x6f,0x5b,0x04,0x8f,0xb5,0x39,0xdb,0x7c,0x50,0x54,0x34,0x95,0x42,0x4b,0xc2,0x49,0x46,0x6b};
    static std::uint8_t subtrahend72[32] = {0xc9,0xc4,0x64,0x6e,0x30,0xe4,0xed,0x81,0x57,0x22,0x02,0x0e,0x64,0x3f,0xe4,0x0d,0x68,0xbb,0x14,0xc1,0x08,0x31,0x41,0xec,0x7b,0xf2,0x88,0x9f,0xd5,0xf3,0xbd,0x4c};
    static std::uint8_t sum72[32]        = {0xd1,0x08,0x5b,0x07,0xa0,0xd5,0x06,0x32,0x2e,0xec,0x6e,0x5d,0x9b,0xc4,0x8b,0x4d,0x9b,0xd4,0xa0,0x78,0xd3,0x4b,0x0e,0x67,0xb8,0xa2,0xb9,0xab,0xec,0x55,0x89,0x1f};
    static int          borrow72         = -1;
    mpz_from_bytes(minuend, minuend72, 8);
    mpz_from_bytes(subtrahend, subtrahend72, 8);
    borrow = mpz_sub_borrow(sum, minuend, subtrahend, 0, 8);
    mpz_to_bytes(differencedata, sum, 8);
    if (std::memcmp(sum72, differencedata, 32) != 0 || borrow72 != borrow)
    {
        throw std::runtime_error("err in common::mpz_sub_borrow");
    }

    static std::uint8_t minuend73[32]    = {0x7e,0x50,0x54,0xa1,0x5d,0x1b,0x05,0x0f,0xe6,0x4a,0x50,0x8d,0x66,0x59,0xff,0x62,0xa9,0x15,0xaa,0x4e,0xe0,0x19,0xd8,0x2d,0xdc,0x63,0xbc,0xaa,0x9a,0x99,0x00,0xda};
    static std::uint8_t subtrahend73[32] = {0x82,0x1e,0x6a,0x21,0xd5,0x88,0xf8,0xbd,0x70,0x4c,0x78,0xf7,0x15,0x2d,0xd4,0x39,0xce,0x0e,0x4e,0x22,0x20,0xf8,0x8b,0xd5,0x81,0x6c,0x37,0xc6,0x22,0x51,0x0c,0x5b};
    static std::uint8_t sum73[32]        = {0xfc,0x31,0xea,0x7f,0x87,0x92,0x0c,0x52,0x75,0xfd,0xd7,0x96,0x51,0x2c,0x2b,0x28,0xdb,0x07,0x5c,0x2c,0xbf,0x21,0x4c,0x58,0x5a,0xf7,0x84,0xe4,0x78,0x47,0xf4,0x7f};
    static int          borrow73         = -1;
    mpz_from_bytes(minuend, minuend73, 8);
    mpz_from_bytes(subtrahend, subtrahend73, 8);
    borrow = mpz_sub_borrow(sum, minuend, subtrahend, 0, 8);
    mpz_to_bytes(differencedata, sum, 8);
    if (std::memcmp(sum73, differencedata, 32) != 0 || borrow73 != borrow)
    {
        throw std::runtime_error("err in common::mpz_sub_borrow");
    }

    static std::uint8_t minuend74[32]    = {0x11,0x15,0xda,0x9b,0xdc,0xe0,0x3f,0x6e,0x7b,0xda,0x98,0x3d,0x3b,0xf5,0xe2,0x8f,0xb7,0x13,0xd8,0x61,0xa1,0xdc,0x1b,0xe5,0x5a,0x30,0xaa,0x22,0x01,0x46,0xd4,0x2d};
    static std::uint8_t subtrahend74[32] = {0xfa,0xfb,0x97,0x79,0xdd,0x1d,0x14,0xb8,0x55,0x7c,0xf2,0xde,0x3c,0x71,0xe7,0xa7,0x25,0xe8,0xe0,0x3b,0xd0,0xf2,0x2c,0x13,0x10,0x7c,0x42,0x71,0x83,0xaf,0x46,0x17};
    static std::uint8_t sum74[32]        = {0x16,0x1a,0x43,0x21,0xff,0xc3,0x2a,0xb6,0x26,0x5d,0xa5,0x5e,0xff,0x83,0xfa,0xe8,0x91,0x2a,0xf8,0x25,0xd0,0xe9,0xef,0xd2,0x49,0xb4,0x67,0xb0,0x7d,0x97,0x8e,0x16};
    static int          borrow74         = -1;
    mpz_from_bytes(minuend, minuend74, 8);
    mpz_from_bytes(subtrahend, subtrahend74, 8);
    borrow = mpz_sub_borrow(sum, minuend, subtrahend, 0, 8);
    mpz_to_bytes(differencedata, sum, 8);
    if (std::memcmp(sum74, differencedata, 32) != 0 || borrow74 != borrow)
    {
        throw std::runtime_error("err in common::mpz_sub_borrow");
    }

    static std::uint8_t minuend75[32]    = {0xc9,0xfe,0x0f,0xac,0xc2,0x87,0x74,0xa4,0x72,0xc0,0x4f,0x47,0x62,0xe3,0x69,0xde,0xd7,0x3e,0xd5,0x92,0xd9,0x87,0xa0,0x25,0x15,0xc4,0xb4,0xb1,0x05,0x04,0x8c,0xe6};
    static std::uint8_t subtrahend75[32] = {0x1e,0x50,0x16,0xc3,0x2c,0x73,0xc4,0x37,0x73,0x76,0x53,0x67,0xd8,0x6b,0x90,0xe0,0x9f,0x2e,0xe5,0xd9,0x42,0x30,0xe5,0x2c,0xa2,0x3e,0x29,0x0d,0xe8,0x0d,0x05,0x44};
    static std::uint8_t sum75[32]        = {0xab,0xad,0xf8,0xe9,0x96,0x13,0xb0,0x6c,0xff,0x49,0xfb,0xdf,0x8a,0x77,0xd8,0xfe,0x38,0x0f,0xef,0xb9,0x97,0x56,0xba,0xf8,0x73,0x86,0x8b,0xa3,0x1c,0xf7,0x87,0xa2};
    static int          borrow75         = 0;
    mpz_from_bytes(minuend, minuend75, 8);
    mpz_from_bytes(subtrahend, subtrahend75, 8);
    borrow = mpz_sub_borrow(sum, minuend, subtrahend, 0, 8);
    mpz_to_bytes(differencedata, sum, 8);
    if (std::memcmp(sum75, differencedata, 32) != 0 || borrow75 != borrow)
    {
        throw std::runtime_error("err in common::mpz_sub_borrow");
    }

    static std::uint8_t minuend76[32]    = {0x43,0x35,0x7c,0x17,0x0f,0xb6,0xe2,0x57,0x28,0x43,0x80,0x37,0xa3,0xfb,0xdc,0xf8,0x78,0xa5,0x43,0x2f,0x86,0x88,0x69,0xce,0x05,0xe4,0x58,0x69,0x69,0x43,0xa1,0x44};
    static std::uint8_t subtrahend76[32] = {0x0e,0xf3,0x55,0x8f,0xb9,0xa2,0xbb,0x8b,0xa9,0x20,0xeb,0xe6,0xd3,0x4c,0x83,0xdb,0x81,0x6f,0xb5,0x1a,0x32,0xf8,0x2e,0xfb,0x18,0xce,0x58,0x8f,0x10,0xf3,0xeb,0x57};
    static std::uint8_t sum76[32]        = {0x34,0x42,0x26,0x87,0x56,0x14,0x26,0xcb,0x7f,0x22,0x94,0x50,0xd0,0xaf,0x59,0x1c,0xf7,0x35,0x8e,0x15,0x53,0x90,0x3a,0xd2,0xed,0x15,0xff,0xda,0x58,0x4f,0xb5,0xed};
    static int          borrow76         = 0;
    mpz_from_bytes(minuend, minuend76, 8);
    mpz_from_bytes(subtrahend, subtrahend76, 8);
    borrow = mpz_sub_borrow(sum, minuend, subtrahend, 0, 8);
    mpz_to_bytes(differencedata, sum, 8);
    if (std::memcmp(sum76, differencedata, 32) != 0 || borrow76 != borrow)
    {
        throw std::runtime_error("err in common::mpz_sub_borrow");
    }

    static std::uint8_t minuend77[32]    = {0xfc,0x0b,0xf7,0x23,0xa1,0xcb,0xf3,0xf0,0x0b,0x18,0xb5,0xeb,0xfa,0xe0,0xae,0x52,0x13,0xc4,0xf0,0xda,0x9d,0xe9,0xc4,0x0e,0x70,0x86,0xce,0xde,0x2c,0x9a,0xe7,0xd9};
    static std::uint8_t subtrahend77[32] = {0x3a,0x47,0xec,0xb0,0xc9,0xa6,0x64,0xe7,0x42,0x03,0x07,0x08,0x79,0xfd,0x91,0xc9,0xcc,0xa2,0xb3,0x1c,0xec,0xc6,0x67,0xb3,0x8e,0x46,0xa6,0x1d,0xa2,0xae,0x16,0xf3};
    static std::uint8_t sum77[32]        = {0xc1,0xc4,0x0a,0x72,0xd8,0x25,0x8f,0x08,0xc9,0x15,0xae,0xe3,0x80,0xe3,0x1c,0x88,0x47,0x22,0x3d,0xbd,0xb1,0x23,0x5c,0x5a,0xe2,0x40,0x28,0xc0,0x89,0xec,0xd0,0xe6};
    static int          borrow77         = 0;
    mpz_from_bytes(minuend, minuend77, 8);
    mpz_from_bytes(subtrahend, subtrahend77, 8);
    borrow = mpz_sub_borrow(sum, minuend, subtrahend, 0, 8);
    mpz_to_bytes(differencedata, sum, 8);
    if (std::memcmp(sum77, differencedata, 32) != 0 || borrow77 != borrow)
    {
        throw std::runtime_error("err in common::mpz_sub_borrow");
    }

    static std::uint8_t minuend78[32]    = {0x1b,0xab,0xc1,0x0e,0x6d,0xbe,0x40,0x31,0xac,0xae,0x93,0x97,0x73,0xe7,0xc9,0x62,0x03,0xb1,0x8b,0x03,0x24,0x6f,0xac,0xa3,0xf4,0x75,0x56,0x1e,0x0d,0x34,0xb7,0x57};
    static std::uint8_t subtrahend78[32] = {0xca,0x92,0xab,0xd2,0x51,0xab,0xb6,0x8a,0x04,0xea,0xb1,0x8f,0x13,0x53,0x16,0xa0,0x96,0x98,0x1a,0x40,0xc5,0x58,0xac,0xbc,0x25,0x14,0x29,0xa1,0x41,0x4c,0xd3,0x9e};
    static std::uint8_t sum78[32]        = {0x51,0x19,0x15,0x3c,0x1c,0x12,0x89,0xa7,0xa7,0xc3,0xe2,0x08,0x60,0x94,0xb2,0xc1,0x6d,0x19,0x70,0xc2,0x5f,0x16,0xff,0xe7,0xcf,0x61,0x2c,0x7c,0xcb,0xe7,0xe3,0xb9};
    static int          borrow78         = -1;
    mpz_from_bytes(minuend, minuend78, 8);
    mpz_from_bytes(subtrahend, subtrahend78, 8);
    borrow = mpz_sub_borrow(sum, minuend, subtrahend, 0, 8);
    mpz_to_bytes(differencedata, sum, 8);
    if (std::memcmp(sum78, differencedata, 32) != 0 || borrow78 != borrow)
    {
        throw std::runtime_error("err in common::mpz_sub_borrow");
    }

    static std::uint8_t minuend79[32]    = {0x15,0x86,0x23,0x8f,0x2f,0x10,0xf5,0x41,0x6d,0x0c,0x13,0x9a,0x08,0x72,0x1c,0xbe,0x20,0xad,0xd8,0xa6,0x7c,0xb5,0x6f,0x5d,0xea,0xfc,0x40,0x42,0x33,0x2c,0x2e,0x8a};
    static std::uint8_t subtrahend79[32] = {0xc8,0xd0,0xb4,0x01,0x8d,0x11,0xc3,0x43,0xc5,0x07,0xde,0x08,0xd4,0xcb,0xfb,0xf6,0xba,0x24,0xf2,0xa8,0xbb,0x10,0xf6,0x50,0x06,0xc5,0x16,0x7f,0xe0,0x87,0xa8,0xf8};
    static std::uint8_t sum79[32]        = {0x4c,0xb5,0x6f,0x8d,0xa1,0xff,0x31,0xfd,0xa8,0x04,0x35,0x91,0x33,0xa6,0x20,0xc7,0x66,0x88,0xe5,0xfd,0xc1,0xa4,0x79,0x0d,0xe4,0x37,0x29,0xc2,0x52,0xa4,0x85,0x92};
    static int          borrow79         = -1;
    mpz_from_bytes(minuend, minuend79, 8);
    mpz_from_bytes(subtrahend, subtrahend79, 8);
    borrow = mpz_sub_borrow(sum, minuend, subtrahend, 0, 8);
    mpz_to_bytes(differencedata, sum, 8);
    if (std::memcmp(sum79, differencedata, 32) != 0 || borrow79 != borrow)
    {
        throw std::runtime_error("err in common::mpz_sub_borrow");
    }

    static std::uint8_t minuend80[32]    = {0x40,0x9c,0x89,0x96,0xc4,0xc4,0xcb,0xcd,0x9e,0xb0,0x62,0xe3,0xb1,0x24,0x70,0xc1,0xbb,0x82,0xcd,0x78,0x85,0xcc,0x46,0x69,0x38,0x3e,0x16,0x90,0x75,0x93,0x21,0x26};
    static std::uint8_t subtrahend80[32] = {0x95,0xf8,0x89,0x01,0x5a,0x90,0xcb,0x28,0x06,0x53,0xe0,0x14,0xfe,0xb1,0xb5,0x61,0xc2,0x95,0x21,0xea,0xb0,0xe6,0x51,0xeb,0x8b,0x47,0xca,0x5d,0xa5,0x6a,0x57,0x1b};
    static std::uint8_t sum80[32]        = {0xaa,0xa4,0x00,0x95,0x6a,0x34,0x00,0xa5,0x98,0x5c,0x82,0xce,0xb2,0x72,0xbb,0x5f,0xf8,0xed,0xab,0x8d,0xd4,0xe5,0xf4,0x7d,0xac,0xf6,0x4c,0x32,0xd0,0x28,0xca,0x0b};
    static int          borrow80         = -1;
    mpz_from_bytes(minuend, minuend80, 8);
    mpz_from_bytes(subtrahend, subtrahend80, 8);
    borrow = mpz_sub_borrow(sum, minuend, subtrahend, 0, 8);
    mpz_to_bytes(differencedata, sum, 8);
    if (std::memcmp(sum80, differencedata, 32) != 0 || borrow80 != borrow)
    {
        throw std::runtime_error("err in common::mpz_sub_borrow");
    }

    static std::uint8_t minuend81[32]    = {0x1a,0x02,0xb1,0x5d,0xc6,0xb4,0x36,0x99,0x34,0xaa,0x84,0x7c,0x77,0xc9,0xda,0x8c,0x09,0x88,0x6e,0x03,0x25,0xc4,0xc8,0x4b,0x6a,0x5f,0x6d,0x13,0x12,0xe5,0x94,0x71};
    static std::uint8_t subtrahend81[32] = {0x80,0xd3,0xea,0xf4,0x37,0x36,0x6b,0x93,0xeb,0x27,0x73,0x6e,0xbd,0x02,0x74,0x3d,0xae,0xeb,0x01,0x5e,0x6b,0x4d,0x5b,0x6a,0x4f,0xda,0x26,0x07,0xc0,0x23,0xe1,0x78};
    static std::uint8_t sum81[32]        = {0x99,0x2e,0xc6,0x69,0x8f,0x7d,0xcb,0x05,0x49,0x83,0x11,0x0d,0xba,0xc7,0x66,0x4e,0x5a,0x9d,0x6c,0xa4,0xba,0x77,0x6c,0xe1,0x1a,0x85,0x47,0x0b,0x52,0xc1,0xb2,0xf9};
    static int          borrow81         = -1;
    mpz_from_bytes(minuend, minuend81, 8);
    mpz_from_bytes(subtrahend, subtrahend81, 8);
    borrow = mpz_sub_borrow(sum, minuend, subtrahend, 0, 8);
    mpz_to_bytes(differencedata, sum, 8);
    if (std::memcmp(sum81, differencedata, 32) != 0 || borrow81 != borrow)
    {
        throw std::runtime_error("err in common::mpz_sub_borrow");
    }

    static std::uint8_t minuend82[32]    = {0xae,0x05,0xd0,0xb4,0x5c,0x73,0xca,0x96,0x46,0x61,0x50,0x5d,0x36,0xd1,0x6c,0x72,0xfc,0xd7,0x33,0x4b,0x23,0x87,0x16,0x6b,0x8b,0x6c,0x4b,0xe5,0x19,0x59,0x94,0x8b};
    static std::uint8_t subtrahend82[32] = {0x06,0x62,0xce,0x48,0x5f,0xb4,0x8d,0x22,0x6e,0x19,0xce,0x9a,0xea,0x0e,0x9b,0x22,0xcb,0x0f,0x58,0x98,0x2c,0x0d,0x6e,0xb7,0x9a,0x38,0x91,0xdc,0x22,0xaa,0xbb,0xc0};
    static std::uint8_t sum82[32]        = {0xa7,0xa3,0x02,0x6b,0xfc,0xbf,0x3d,0x73,0xd8,0x47,0x81,0xc2,0x4c,0xc2,0xd1,0x50,0x31,0xc7,0xda,0xb2,0xf7,0x79,0xa7,0xb3,0xf1,0x33,0xba,0x08,0xf6,0xae,0xd8,0xcb};
    static int          borrow82         = 0;
    mpz_from_bytes(minuend, minuend82, 8);
    mpz_from_bytes(subtrahend, subtrahend82, 8);
    borrow = mpz_sub_borrow(sum, minuend, subtrahend, 0, 8);
    mpz_to_bytes(differencedata, sum, 8);
    if (std::memcmp(sum82, differencedata, 32) != 0 || borrow82 != borrow)
    {
        throw std::runtime_error("err in common::mpz_sub_borrow");
    }

    static std::uint8_t minuend83[32]    = {0xf9,0x27,0xae,0xd7,0x9e,0xd1,0x28,0x05,0x7a,0xc2,0x74,0x1f,0x1c,0x35,0x3e,0x24,0xc9,0x86,0xb7,0x33,0xa5,0xec,0xc3,0xd3,0x56,0x6d,0x82,0x89,0x57,0x23,0xd3,0x62};
    static std::uint8_t subtrahend83[32] = {0x05,0x2f,0x94,0x37,0xee,0xca,0x8c,0x5d,0x4a,0xfc,0xb3,0xa1,0xde,0x03,0x2c,0x78,0xb7,0x8d,0x80,0x36,0x5d,0x65,0x99,0x61,0x26,0x34,0xfe,0x2d,0xd0,0x91,0x6f,0x5d};
    static std::uint8_t sum83[32]        = {0xf3,0xf8,0x1a,0x9f,0xb0,0x06,0x9b,0xa8,0x2f,0xc5,0xc0,0x7d,0x3e,0x32,0x11,0xac,0x11,0xf9,0x36,0xfd,0x48,0x87,0x2a,0x72,0x30,0x38,0x84,0x5b,0x86,0x92,0x64,0x05};
    static int          borrow83         = 0;
    mpz_from_bytes(minuend, minuend83, 8);
    mpz_from_bytes(subtrahend, subtrahend83, 8);
    borrow = mpz_sub_borrow(sum, minuend, subtrahend, 0, 8);
    mpz_to_bytes(differencedata, sum, 8);
    if (std::memcmp(sum83, differencedata, 32) != 0 || borrow83 != borrow)
    {
        throw std::runtime_error("err in common::mpz_sub_borrow");
    }

    static std::uint8_t minuend84[32]    = {0x76,0xdc,0xd8,0x7b,0xf3,0x69,0xad,0xc4,0xcf,0x46,0x8b,0xcc,0xb9,0x7d,0x1c,0xf4,0xaf,0x70,0x89,0xff,0x43,0x48,0xaa,0x4e,0xd9,0x2b,0xa3,0x99,0xca,0x6b,0x2e,0xb5};
    static std::uint8_t subtrahend84[32] = {0x55,0x2a,0x29,0x8b,0xbc,0x82,0x61,0x24,0x24,0xde,0xe1,0x14,0xe6,0x36,0xf7,0xff,0x5e,0x8a,0x6d,0xba,0x63,0x43,0x0b,0x21,0x6f,0x44,0x3a,0x0a,0x0e,0x1b,0x1a,0x88};
    static std::uint8_t sum84[32]        = {0x21,0xb2,0xae,0xf0,0x36,0xe7,0x4c,0xa0,0xaa,0x67,0xaa,0xb7,0xd3,0x46,0x24,0xf5,0x50,0xe6,0x1c,0x44,0xe0,0x05,0x9f,0x2d,0x69,0xe7,0x69,0x8f,0xbc,0x50,0x14,0x2d};
    static int          borrow84         = 0;
    mpz_from_bytes(minuend, minuend84, 8);
    mpz_from_bytes(subtrahend, subtrahend84, 8);
    borrow = mpz_sub_borrow(sum, minuend, subtrahend, 0, 8);
    mpz_to_bytes(differencedata, sum, 8);
    if (std::memcmp(sum84, differencedata, 32) != 0 || borrow84 != borrow)
    {
        throw std::runtime_error("err in common::mpz_sub_borrow");
    }

    static std::uint8_t minuend85[32]    = {0x98,0x07,0x2d,0x85,0x62,0x50,0x4d,0x3c,0x7b,0x60,0x2e,0x8f,0xb1,0xfa,0x5f,0x06,0xdc,0x40,0x3f,0x88,0x9b,0xb7,0x6a,0xa2,0xb5,0xaa,0xa3,0x60,0x92,0xc9,0xfc,0xbe};
    static std::uint8_t subtrahend85[32] = {0xd7,0x0c,0x50,0x8f,0x7b,0x09,0xf6,0xc9,0xf5,0xff,0x14,0x82,0xc1,0xa3,0xf6,0xff,0xcd,0xa4,0x56,0xf9,0xa6,0x6a,0x57,0x65,0x60,0x45,0xf8,0xd5,0x50,0x47,0xc4,0x64};
    static std::uint8_t sum85[32]        = {0xc0,0xfa,0xdc,0xf5,0xe7,0x46,0x56,0x72,0x85,0x61,0x1a,0x0c,0xf0,0x56,0x68,0x07,0x0e,0x9b,0xe8,0x8e,0xf5,0x4d,0x13,0x3d,0x55,0x64,0xaa,0x8b,0x42,0x82,0x38,0x5a};
    static int          borrow85         = -1;
    mpz_from_bytes(minuend, minuend85, 8);
    mpz_from_bytes(subtrahend, subtrahend85, 8);
    borrow = mpz_sub_borrow(sum, minuend, subtrahend, 0, 8);
    mpz_to_bytes(differencedata, sum, 8);
    if (std::memcmp(sum85, differencedata, 32) != 0 || borrow85 != borrow)
    {
        throw std::runtime_error("err in common::mpz_sub_borrow");
    }

    static std::uint8_t minuend86[32]    = {0x44,0x16,0xfe,0x09,0xe8,0xbf,0xe2,0xaa,0xd4,0xf3,0xfd,0x23,0xb0,0xbe,0xdd,0x83,0x84,0x15,0x98,0x4d,0x45,0xf5,0x60,0x20,0xc3,0x51,0xb6,0xc9,0xae,0x02,0x1e,0x8b};
    static std::uint8_t subtrahend86[32] = {0xd2,0x58,0xd8,0x6e,0xf3,0xfc,0x7e,0x48,0xfd,0xfa,0x34,0xa4,0xac,0x25,0xf6,0x8b,0x9f,0x69,0x22,0xfa,0x38,0x07,0x93,0x0d,0x55,0x4e,0xf5,0xb2,0x04,0xbb,0x2d,0x1c};
    static std::uint8_t sum86[32]        = {0x71,0xbe,0x25,0x9a,0xf4,0xc3,0x64,0x61,0xd6,0xf9,0xc8,0x7f,0x04,0x98,0xe6,0xf7,0xe4,0xac,0x75,0x53,0x0d,0xed,0xcd,0x13,0x6e,0x02,0xc1,0x17,0xa9,0x46,0xf1,0x6f};
    static int          borrow86         = -1;
    mpz_from_bytes(minuend, minuend86, 8);
    mpz_from_bytes(subtrahend, subtrahend86, 8);
    borrow = mpz_sub_borrow(sum, minuend, subtrahend, 0, 8);
    mpz_to_bytes(differencedata, sum, 8);
    if (std::memcmp(sum86, differencedata, 32) != 0 || borrow86 != borrow)
    {
        throw std::runtime_error("err in common::mpz_sub_borrow");
    }

    static std::uint8_t minuend87[32]    = {0xc9,0x2a,0xcf,0x4a,0x44,0xfa,0x04,0xc7,0x02,0x79,0xa9,0x18,0x93,0xd0,0x2f,0x3a,0xb1,0xc9,0xdb,0x0b,0x71,0x79,0xc1,0xad,0xfe,0x98,0x1b,0x81,0x46,0x0f,0xbb,0xf8};
    static std::uint8_t subtrahend87[32] = {0x72,0x69,0x0d,0x2d,0x4d,0x31,0x86,0x44,0xff,0x24,0xd2,0xac,0x80,0x93,0x44,0x96,0xa5,0x85,0x65,0x5b,0x10,0x7a,0x68,0x7a,0xba,0x8a,0x9c,0xfa,0xfa,0x15,0x95,0xae};
    static std::uint8_t sum87[32]        = {0x56,0xc1,0xc2,0x1c,0xf7,0xc8,0x7e,0x82,0x03,0x54,0xd6,0x6c,0x13,0x3c,0xea,0xa4,0x0c,0x44,0x75,0xb0,0x60,0xff,0x59,0x33,0x44,0x0d,0x7e,0x86,0x4b,0xfa,0x26,0x4a};
    static int          borrow87         = 0;
    mpz_from_bytes(minuend, minuend87, 8);
    mpz_from_bytes(subtrahend, subtrahend87, 8);
    borrow = mpz_sub_borrow(sum, minuend, subtrahend, 0, 8);
    mpz_to_bytes(differencedata, sum, 8);
    if (std::memcmp(sum87, differencedata, 32) != 0 || borrow87 != borrow)
    {
        throw std::runtime_error("err in common::mpz_sub_borrow");
    }

    static std::uint8_t minuend88[32]    = {0xfc,0x7f,0x0e,0xef,0x4f,0xc2,0x47,0xda,0xb2,0x2a,0xa8,0x85,0xc7,0xf9,0x64,0xac,0x9d,0xd0,0x3a,0x4a,0x11,0xee,0xe1,0x3c,0x4b,0xc0,0x30,0x17,0x39,0xd9,0x9e,0x89};
    static std::uint8_t subtrahend88[32] = {0xec,0xf0,0x13,0x42,0xd7,0xd8,0x5a,0xb4,0xe2,0xf4,0x30,0x54,0xef,0xe7,0xc0,0x43,0x66,0x67,0xf4,0x42,0xe4,0x27,0x37,0x99,0x54,0xcc,0x6b,0x22,0x86,0x2d,0x1c,0xcc};
    static std::uint8_t sum88[32]        = {0x0f,0x8e,0xfb,0xac,0x77,0xe9,0xed,0x25,0xcf,0x36,0x78,0x30,0xd8,0x11,0xa4,0x69,0x37,0x68,0x46,0x07,0x2d,0xc7,0xa9,0xa2,0xf6,0xf3,0xc4,0xf4,0xb3,0xac,0x81,0xbd};
    static int          borrow88         = 0;
    mpz_from_bytes(minuend, minuend88, 8);
    mpz_from_bytes(subtrahend, subtrahend88, 8);
    borrow = mpz_sub_borrow(sum, minuend, subtrahend, 0, 8);
    mpz_to_bytes(differencedata, sum, 8);
    if (std::memcmp(sum88, differencedata, 32) != 0 || borrow88 != borrow)
    {
        throw std::runtime_error("err in common::mpz_sub_borrow");
    }

    static std::uint8_t minuend89[32]    = {0x8f,0x57,0xcb,0xec,0xc0,0xee,0x09,0x11,0x80,0x94,0x9e,0xb2,0xca,0x3a,0x1f,0xb8,0xb3,0xc8,0xd0,0x5a,0x71,0x33,0xe0,0x7b,0x60,0x4e,0xd7,0x5b,0xe5,0xa5,0xdc,0x0d};
    static std::uint8_t subtrahend89[32] = {0x10,0x9b,0xdd,0x4d,0x65,0xb1,0xa7,0xbc,0x68,0x67,0xe9,0x40,0x22,0x0e,0x13,0xda,0x83,0x06,0xd8,0x83,0x9d,0xea,0x8d,0xa0,0x8f,0x35,0xbe,0x4d,0x43,0xd9,0xf7,0xb7};
    static std::uint8_t sum89[32]        = {0x7e,0xbb,0xee,0x9f,0x5b,0x3c,0x61,0x55,0x18,0x2c,0xb5,0x72,0xa8,0x2c,0x0b,0xde,0x30,0xc1,0xf7,0xd6,0xd3,0x49,0x52,0xda,0xd1,0x19,0x19,0x0e,0xa1,0xcb,0xe4,0x56};
    static int          borrow89         = 0;
    mpz_from_bytes(minuend, minuend89, 8);
    mpz_from_bytes(subtrahend, subtrahend89, 8);
    borrow = mpz_sub_borrow(sum, minuend, subtrahend, 0, 8);
    mpz_to_bytes(differencedata, sum, 8);
    if (std::memcmp(sum89, differencedata, 32) != 0 || borrow89 != borrow)
    {
        throw std::runtime_error("err in common::mpz_sub_borrow");
    }

    static std::uint8_t minuend90[32]    = {0xa5,0x1a,0xe6,0x00,0xcc,0x9c,0x2e,0xc7,0xe5,0xdc,0x4d,0x5b,0xef,0x71,0x5b,0xf2,0xf0,0x7f,0xd2,0xfd,0x29,0x43,0x6a,0x4e,0x20,0x4d,0x15,0xed,0x63,0xd0,0xc8,0xa5};
    static std::uint8_t subtrahend90[32] = {0xaf,0x91,0x9a,0x6e,0xea,0xca,0xd2,0x47,0xc4,0x66,0xf3,0xa4,0xb6,0x84,0xd3,0xee,0xf4,0x6a,0xba,0xe0,0x49,0x14,0xa5,0x0d,0xec,0xf5,0x94,0xb2,0x03,0x02,0xb3,0xb1};
    static std::uint8_t sum90[32]        = {0xf5,0x89,0x4b,0x91,0xe1,0xd1,0x5c,0x80,0x21,0x75,0x59,0xb7,0x38,0xec,0x88,0x03,0xfc,0x15,0x18,0x1c,0xe0,0x2e,0xc5,0x40,0x33,0x57,0x81,0x3b,0x60,0xce,0x14,0xf4};
    static int          borrow90         = -1;
    mpz_from_bytes(minuend, minuend90, 8);
    mpz_from_bytes(subtrahend, subtrahend90, 8);
    borrow = mpz_sub_borrow(sum, minuend, subtrahend, 0, 8);
    mpz_to_bytes(differencedata, sum, 8);
    if (std::memcmp(sum90, differencedata, 32) != 0 || borrow90 != borrow)
    {
        throw std::runtime_error("err in common::mpz_sub_borrow");
    }

    static std::uint8_t minuend91[32]    = {0x3b,0x58,0xf6,0x7a,0x31,0x0a,0x88,0xe8,0x63,0x9d,0x20,0xf3,0xb9,0x94,0x2b,0xa9,0xf4,0xaa,0x35,0x54,0x05,0xc1,0x50,0x4c,0xf9,0x0b,0x9b,0x4e,0x35,0x12,0xee,0xf9};
    static std::uint8_t subtrahend91[32] = {0x90,0xa3,0x09,0x37,0xac,0xea,0x37,0xdd,0x4b,0x9c,0x4d,0xae,0x07,0x2a,0xf0,0xb7,0x7c,0xb5,0xae,0x8e,0x43,0x28,0xfb,0xcb,0xc2,0x21,0x45,0x25,0xfd,0x78,0x2e,0x69};
    static std::uint8_t sum91[32]        = {0xaa,0xb5,0xed,0x42,0x84,0x20,0x51,0x0b,0x18,0x00,0xd3,0x45,0xb2,0x69,0x3a,0xf2,0x77,0xf4,0x86,0xc5,0xc2,0x98,0x54,0x81,0x36,0xea,0x56,0x28,0x37,0x9a,0xc0,0x90};
    static int          borrow91         = -1;
    mpz_from_bytes(minuend, minuend91, 8);
    mpz_from_bytes(subtrahend, subtrahend91, 8);
    borrow = mpz_sub_borrow(sum, minuend, subtrahend, 0, 8);
    mpz_to_bytes(differencedata, sum, 8);
    if (std::memcmp(sum91, differencedata, 32) != 0 || borrow91 != borrow)
    {
        throw std::runtime_error("err in common::mpz_sub_borrow");
    }

    static std::uint8_t minuend92[32]    = {0x61,0x15,0x66,0x71,0x4a,0x1b,0xe6,0xd3,0xb8,0x19,0xfc,0xbc,0x07,0xcf,0xb7,0xfa,0xdb,0x96,0x8d,0xe9,0x40,0x40,0x28,0x34,0x65,0x23,0x14,0x9c,0x5d,0xeb,0x1a,0x0f};
    static std::uint8_t subtrahend92[32] = {0x4c,0xe6,0x15,0xe9,0x0a,0x81,0x1c,0x52,0x11,0x52,0x6d,0xbe,0xa6,0x7a,0x6b,0xf6,0x61,0x78,0xd9,0x47,0xbb,0x9b,0x75,0x7d,0xf4,0xbe,0x2b,0xe9,0x33,0x6a,0x65,0xfe};
    static std::uint8_t sum92[32]        = {0x14,0x2f,0x50,0x88,0x3f,0x9a,0xca,0x81,0xa6,0xc7,0x8e,0xfd,0x61,0x55,0x4c,0x04,0x7a,0x1d,0xb4,0xa1,0x84,0xa4,0xb2,0xb6,0x70,0x64,0xe8,0xb3,0x2a,0x80,0xb4,0x11};
    static int          borrow92         = 0;
    mpz_from_bytes(minuend, minuend92, 8);
    mpz_from_bytes(subtrahend, subtrahend92, 8);
    borrow = mpz_sub_borrow(sum, minuend, subtrahend, 0, 8);
    mpz_to_bytes(differencedata, sum, 8);
    if (std::memcmp(sum92, differencedata, 32) != 0 || borrow92 != borrow)
    {
        throw std::runtime_error("err in common::mpz_sub_borrow");
    }

    static std::uint8_t minuend93[32]    = {0x27,0x04,0x24,0x41,0x36,0xf1,0xc8,0x08,0x1f,0xac,0xc5,0x1e,0xe2,0x8a,0xe8,0xcd,0xcb,0xe8,0x6a,0xcd,0x8c,0x4e,0x07,0x56,0xcf,0xc8,0x32,0x47,0x11,0x02,0x03,0x77};
    static std::uint8_t subtrahend93[32] = {0xc5,0x5f,0x88,0x61,0xed,0x2a,0xff,0xa5,0xa3,0x5a,0xf4,0xb2,0x82,0xc3,0x50,0xac,0x33,0x45,0xb9,0x0f,0xdb,0x83,0x44,0xb2,0x93,0xe1,0xe2,0xba,0xb3,0x8d,0x31,0x87};
    static std::uint8_t sum93[32]        = {0x61,0xa4,0x9b,0xdf,0x49,0xc6,0xc8,0x62,0x7c,0x51,0xd0,0x6c,0x5f,0xc7,0x98,0x21,0x98,0xa2,0xb1,0xbd,0xb0,0xca,0xc2,0xa4,0x3b,0xe6,0x4f,0x8c,0x5d,0x74,0xd1,0xf0};
    static int          borrow93         = -1;
    mpz_from_bytes(minuend, minuend93, 8);
    mpz_from_bytes(subtrahend, subtrahend93, 8);
    borrow = mpz_sub_borrow(sum, minuend, subtrahend, 0, 8);
    mpz_to_bytes(differencedata, sum, 8);
    if (std::memcmp(sum93, differencedata, 32) != 0 || borrow93 != borrow)
    {
        throw std::runtime_error("err in common::mpz_sub_borrow");
    }

    static std::uint8_t minuend94[32]    = {0x68,0xd2,0xfc,0x57,0x7d,0x06,0xdf,0xb9,0x37,0x3b,0x4b,0xfa,0xab,0xfe,0x68,0xdd,0xd7,0x13,0xa2,0x22,0xe8,0x5d,0x50,0x23,0x6d,0x23,0x2f,0x2d,0x66,0xc1,0xad,0x63};
    static std::uint8_t subtrahend94[32] = {0x94,0x36,0xb3,0xf0,0x84,0x0e,0x35,0x44,0x78,0x04,0x96,0x53,0x17,0xa0,0xcc,0xe1,0x88,0xb4,0xe9,0x34,0xd2,0x70,0xe7,0xb8,0x07,0x0c,0xc8,0x21,0x74,0x49,0x5d,0x62};
    static std::uint8_t sum94[32]        = {0xd4,0x9c,0x48,0x66,0xf8,0xf8,0xaa,0x74,0xbf,0x36,0xb5,0xa7,0x94,0x5d,0x9b,0xfc,0x4e,0x5e,0xb8,0xee,0x15,0xec,0x68,0x6b,0x66,0x16,0x67,0x0b,0xf2,0x78,0x50,0x01};
    static int          borrow94         = -1;
    mpz_from_bytes(minuend, minuend94, 8);
    mpz_from_bytes(subtrahend, subtrahend94, 8);
    borrow = mpz_sub_borrow(sum, minuend, subtrahend, 0, 8);
    mpz_to_bytes(differencedata, sum, 8);
    if (std::memcmp(sum94, differencedata, 32) != 0 || borrow94 != borrow)
    {
        throw std::runtime_error("err in common::mpz_sub_borrow");
    }

    static std::uint8_t minuend95[32]    = {0x79,0xd9,0x99,0x7b,0x69,0xa1,0x19,0x94,0x03,0x5e,0xc6,0x35,0xd4,0xfb,0x21,0x76,0x02,0xaa,0xa7,0x6a,0xac,0xa3,0x56,0xc6,0x25,0x3f,0xe4,0xae,0x9b,0x8d,0x73,0xf6};
    static std::uint8_t subtrahend95[32] = {0x65,0x21,0x36,0x0f,0xc9,0x1f,0xe7,0xd3,0xfa,0x01,0x7c,0x22,0xd2,0x87,0xbe,0x19,0xa8,0x62,0x60,0x8f,0xd7,0xd5,0x88,0x88,0xc4,0xbc,0xe2,0xd3,0xed,0xa3,0x51,0xbc};
    static std::uint8_t sum95[32]        = {0x14,0xb8,0x63,0x6b,0xa0,0x81,0x31,0xc0,0x09,0x5d,0x4a,0x13,0x02,0x73,0x63,0x5c,0x5a,0x48,0x46,0xda,0xd4,0xcd,0xce,0x3d,0x60,0x83,0x01,0xda,0xad,0xea,0x22,0x3a};
    static int          borrow95         = 0;
    mpz_from_bytes(minuend, minuend95, 8);
    mpz_from_bytes(subtrahend, subtrahend95, 8);
    borrow = mpz_sub_borrow(sum, minuend, subtrahend, 0, 8);
    mpz_to_bytes(differencedata, sum, 8);
    if (std::memcmp(sum95, differencedata, 32) != 0 || borrow95 != borrow)
    {
        throw std::runtime_error("err in common::mpz_sub_borrow");
    }

    static std::uint8_t minuend96[32]    = {0xc6,0xcc,0xfc,0x16,0xfb,0x7a,0xef,0x23,0x4a,0xee,0x42,0xc5,0x28,0xfc,0x12,0x1a,0x52,0x6c,0x67,0x86,0x4d,0xf3,0x9c,0x7c,0x26,0x9f,0x4e,0x3f,0x0f,0x46,0x86,0x59};
    static std::uint8_t subtrahend96[32] = {0x1e,0x26,0x77,0x18,0x76,0x51,0xee,0x74,0x23,0xed,0xda,0xd3,0x6b,0xa4,0x96,0xd2,0xeb,0x89,0x16,0x69,0x2f,0x50,0xc6,0x0e,0xb7,0xb5,0x77,0xfd,0x0e,0xc9,0x81,0x2f};
    static std::uint8_t sum96[32]        = {0xa8,0xa6,0x84,0xfe,0x85,0x29,0x00,0xaf,0x27,0x00,0x67,0xf1,0xbd,0x57,0x7b,0x47,0x66,0xe3,0x51,0x1d,0x1e,0xa2,0xd6,0x6d,0x6e,0xe9,0xd6,0x42,0x00,0x7d,0x05,0x2a};
    static int          borrow96         = 0;
    mpz_from_bytes(minuend, minuend96, 8);
    mpz_from_bytes(subtrahend, subtrahend96, 8);
    borrow = mpz_sub_borrow(sum, minuend, subtrahend, 0, 8);
    mpz_to_bytes(differencedata, sum, 8);
    if (std::memcmp(sum96, differencedata, 32) != 0 || borrow96 != borrow)
    {
        throw std::runtime_error("err in common::mpz_sub_borrow");
    }

    static std::uint8_t minuend97[32]    = {0xfa,0x6f,0xac,0xca,0xc7,0xde,0xb6,0x72,0x87,0x57,0xe7,0xc1,0x26,0x17,0x67,0x34,0x84,0xc3,0x8d,0xba,0xbd,0x1d,0xdf,0xaa,0xe2,0xdd,0xc5,0xef,0x3c,0x81,0xd9,0xbc};
    static std::uint8_t subtrahend97[32] = {0x70,0xb4,0xa3,0xdd,0xf6,0xe5,0x3b,0x5e,0xbd,0x9a,0x61,0x48,0x59,0x4e,0x0e,0x25,0x50,0x18,0x4b,0x6d,0xd9,0xdd,0x09,0xe6,0x6b,0xe5,0xb6,0xac,0x71,0x5b,0xc5,0x82};
    static std::uint8_t sum97[32]        = {0x89,0xbb,0x08,0xec,0xd0,0xf9,0x7b,0x13,0xc9,0xbd,0x86,0x78,0xcc,0xc9,0x59,0x0f,0x34,0xab,0x42,0x4c,0xe3,0x40,0xd5,0xc4,0x76,0xf8,0x0f,0x42,0xcb,0x26,0x14,0x3a};
    static int          borrow97         = 0;
    mpz_from_bytes(minuend, minuend97, 8);
    mpz_from_bytes(subtrahend, subtrahend97, 8);
    borrow = mpz_sub_borrow(sum, minuend, subtrahend, 0, 8);
    mpz_to_bytes(differencedata, sum, 8);
    if (std::memcmp(sum97, differencedata, 32) != 0 || borrow97 != borrow)
    {
        throw std::runtime_error("err in common::mpz_sub_borrow");
    }

    static std::uint8_t minuend98[32]    = {0x86,0xb9,0xba,0x85,0x69,0x24,0x80,0x42,0xad,0x7b,0x94,0x8d,0x8f,0x21,0x31,0x9d,0xca,0xaf,0x9d,0xc4,0x3a,0x12,0xe7,0xd7,0x3d,0xe6,0x86,0x61,0x84,0xad,0xad,0x7b};
    static std::uint8_t subtrahend98[32] = {0xd5,0xee,0xdf,0x9b,0x67,0xc9,0xff,0x05,0xf3,0xc7,0xfe,0xc6,0x7d,0x45,0x1e,0xa0,0x5c,0xfd,0x89,0x1a,0xc3,0x4e,0x89,0x1e,0x53,0xb4,0x80,0xd8,0xec,0x2f,0x18,0xba};
    static std::uint8_t sum98[32]        = {0xb0,0xca,0xda,0xea,0x01,0x5a,0x81,0x3c,0xb9,0xb3,0x95,0xc7,0x11,0xdc,0x12,0xfd,0x6d,0xb2,0x14,0xa9,0x76,0xc4,0x5e,0xb8,0xea,0x32,0x05,0x88,0x98,0x7e,0x94,0xc1};
    static int          borrow98         = -1;
    mpz_from_bytes(minuend, minuend98, 8);
    mpz_from_bytes(subtrahend, subtrahend98, 8);
    borrow = mpz_sub_borrow(sum, minuend, subtrahend, 0, 8);
    mpz_to_bytes(differencedata, sum, 8);
    if (std::memcmp(sum98, differencedata, 32) != 0 || borrow98 != borrow)
    {
        throw std::runtime_error("err in common::mpz_sub_borrow");
    }

    static std::uint8_t minuend99[32]    = {0x4e,0xeb,0xb0,0x0e,0xe8,0x13,0x2d,0x4c,0x61,0xa0,0xe1,0xc8,0x46,0xd7,0xa4,0x7f,0x95,0x32,0xde,0x52,0xbd,0x0e,0x3f,0xaf,0xc0,0x92,0x75,0x72,0x46,0x69,0x6f,0x87};
    static std::uint8_t subtrahend99[32] = {0xd6,0x2c,0x76,0x6f,0x3f,0x90,0xeb,0x20,0xaf,0x4e,0x7b,0x9d,0x49,0xe7,0x52,0xbb,0xdf,0x72,0x65,0x21,0xe4,0xeb,0x2b,0x37,0x6b,0xd3,0xa6,0xfa,0xc9,0x36,0x88,0x73};
    static std::uint8_t sum99[32]        = {0x78,0xbf,0x39,0x9f,0xa8,0x82,0x42,0x2b,0xb2,0x52,0x66,0x2a,0xfc,0xf0,0x51,0xc3,0xb5,0xc0,0x79,0x30,0xd8,0x23,0x14,0x78,0x54,0xbe,0xce,0x77,0x7d,0x32,0xe7,0x14};
    static int          borrow99         = -1;
    mpz_from_bytes(minuend, minuend99, 8);
    mpz_from_bytes(subtrahend, subtrahend99, 8);
    borrow = mpz_sub_borrow(sum, minuend, subtrahend, 0, 8);
    mpz_to_bytes(differencedata, sum, 8);
    if (std::memcmp(sum99, differencedata, 32) != 0 || borrow99 != borrow)
    {
        throw std::runtime_error("err in common::mpz_sub_borrow");
    }
}
#endif